Timelord_
Member
Hey gang. Can anyone recommend a way for me to embed a video player for media that is hosted on my CDN?
I see I can use flowplayer, jwplayer, or a ton of other players, but how do I actually get it to embed in a forum post. URL of the video takes the format of
http://cdnurl.com/video/name_of_file.mp4
The current CDN I am using is CDN77, and they offer a tool that generates a JW format that looks like this.
<html>
<head>
<scriptsrc="/jwplayer/jwplayer.js"type="text/javascript"></script>
</head>
<body>
<divid="mediaplayer"></div>
<scripttype="text/javascript">
$(document).ready(function(){
jwplayer("mediaplayer").setup({
'file':"/uploads/example.mp4",
'image':"/uploads/example.jpg",
'provider':'http',
'startparam':'start',
});
});
</script>
</body></html>
When I post a sample (with my content) into a post, I only see the code, and not the actual video.
Thanks in advance for your suggestions.
Cheers,
I see I can use flowplayer, jwplayer, or a ton of other players, but how do I actually get it to embed in a forum post. URL of the video takes the format of
http://cdnurl.com/video/name_of_file.mp4
The current CDN I am using is CDN77, and they offer a tool that generates a JW format that looks like this.
<html>
<head>
<scriptsrc="/jwplayer/jwplayer.js"type="text/javascript"></script>
</head>
<body>
<divid="mediaplayer"></div>
<scripttype="text/javascript">
$(document).ready(function(){
jwplayer("mediaplayer").setup({
'file':"/uploads/example.mp4",
'image':"/uploads/example.jpg",
'provider':'http',
'startparam':'start',
});
});
</script>
</body></html>
When I post a sample (with my content) into a post, I only see the code, and not the actual video.
Thanks in advance for your suggestions.
Cheers,