Go
Not registered? Sign up!

Problem with captions srt and flvplayer.swf

Google Translate
1 posts | return to the AdSolution forum | get the rss feed for this thread

Sep. 22, 2009celgadis

Hi:

Would like to add subtitles to a video and srt format FLVPlayer. Anyway, I can not get work.
This is the code I have (PHP)

echo '<span class="mediaplugin mediaplugin_flv" id="'.$id.'"></span>'.
'<script type="text/javascript">'."\n".
'//<![CDATA['."\n".
'var FO = { movie:"'.$conf_video.'&captions=http://localhost/video.srt",'."\n".
'width:"600", height:"400", majorversion:"6", build:"40", allowscriptaccess:"never", allowfullscreen:"true", quality: "high" };'."\n".
'UFO.create(FO, "'.$id.'");'."\n".
'//]]>'."\n".
'</script>'."\n";

I should add the plugin accesibility?
If so an example, please

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.