Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
http://www.tinywebgallery.com/forum/

Add subtitles to embedded video
http://www.tinywebgallery.com/forum/web-photo-gallery-support-f1/add-subtitles-to-embedded-video-t4396.html
Page 1 of 1

Author:  midas069 [ 11. Aug 2017, 12:38 ]
Post subject:  Add subtitles to embedded video

Hi,

first of all sorry if this is the wrong place to ask my question, but I am completly new to TWG and just started to encounter all its features.

Now to my question: I added a video to my TWG in MP4 format and added a video.php as described in the "howto" (configured as FLV). Everything works fine an de the video is well played. Now I want to add subtitles to the video (another topic which I just started to learn about). I found that the easiest way is to provide a SRT file containing the subtitles. This file has the same name as the video itself and is located within the same folder. When starting the video locally on my computer the windows media player recognizes the SRT file and displays the subtiles properly on demand. Is it possible to do the same in TWG? Can I simply add the SRT file and the FLV player (correct?) plays the MP4 together with the subtitles? If so, what has to be configured that this works?

Many thanks for your help in advance.

Stephan

Author:  TinyWebGallery [ 16. Aug 2017, 21:27 ]
Post subject:  Re: Add subtitles to embedded video

I have never worked with SRT files before.

I have found: https://developer.mozilla.org/en-US/App ... TML5_video

so it seems for the browser some additional things are needed.

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/