PDA

View Full Version : Placing captions over embedded code...can it be done and how?


goxy63
11-29-2011, 09:10 PM
Its very simple to embed video code in widgets using simple html option, but how to place subtitles that are hosted on my server (.srt) and make it work together

I did try few tings but no can do....:confused:

sample:

<object id="player" width="640" height="500" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ><param name="movie" value="http://some stream server here" ></param><param name="allowFullScreen" value="true" ></param><param name="allowscriptaccess" value="always"></param><embed src="http://some stream server here" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="500"></embed></object>

Is it possible to place captions within code such as this, if it is can someone give me example?

Thanks a lot

kh99
11-29-2011, 10:09 PM
I found this page: http://flv-player.net/players/normal/documentation/%20*/

and I'm not sure it applies to the player you're using, but you could try putting the .srt file with the same name as the movie in the same directory and adding

<param name="srt" value="1"></param>

to your html.

goxy63
11-29-2011, 10:13 PM
Thanks for your answer but I am not using player, simply embedding video from another site

Will take a look at that link

Thanks a lot :)

kh99
11-29-2011, 11:29 PM
Thanks for your answer but I am not using player, simply embedding video from another site

Hmm, yeah, then you probably can't do it unless that site happens to support it somehow.