Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How To Load Subtitle From Url or Pc


Hi JW Users,

i have using JW for almost 3 years and i am very happy, as we know streaming content will be good business, but i have some questions, i want my users or member can upload subtitle directly from their pc or upload from url, i see some website using videojs can do this in their website, example like https://openload.co/f/hhYFZC5bVfA or you can see in this picture to make it clearly http://i.imgur.com/lWYOCtv.jpg

Best Regards
sindo

8 Community Answers

George

JW Player Support Agent  
0 rated :

Hello Sindo,

You could use something like this:
http://qa.jwplayer.com.s3.amazonaws.com/~george/load_captions.html

s...

User  
-1 rated :

Hi George,

that's a good step, do you create the code on your own? amazing, now we just need to create Set captions button beside sound button, i have another question, this set captions using url as subtitle how about uploading subtitle from pc. can you create that's code also? if you can make something similar like openload do, i will help you by donating some cash through paypal. thank you

George

JW Player Support Agent  
-1 rated :

Hi,

You’ll always have to have a file that is hosted online to make this work. The only option I see is you allow a user to upload a file to a server and then get a reference to the file.

s...

User  
0 rated :

Hi George,

i am sorry for late reply, please can i have your email, this is very important thing for me, i have already do what you suggest and its works very well, for uploading subtitle i am allowing users to upload .srt file to my server but how can the srt or vtt enter to jwconfig directly? I would be thankful for any help

s...

User  
0 rated :

Hi George,

i am apologize for late replies, please can i have your email, this is very important thing for me, i have already do what you suggest and its works very well, for uploading subtitle i am allowing users to upload .srt file to my server but how can the srt or vtt enter to jwconfig directly? I would be thankful for any help

Donni

JW Player Support Agent  
0 rated :

You will need a Premium Subscription or above to receive e-mail support. The second code example on this page shows you how to add a captions track to an embed.

s...

User  
-1 rated :

I am sorry but what i need is some code like George do, with George's example, i can put srt file using url, now how to allow users upload .srt file to my server and then put it to jwplayer config. example what i am doing with george's code is like this:

http://imgur.com/a/hraDN

as you can see in red circle i have put new button to jwplayer bar, this function is allowing users to put subtitle from url.

Donni

JW Player Support Agent  
0 rated :

Providing your users with the ability to upload files to your server is not something that is related to our player so it would be outside of the scope of support we can provide. I recommend posting on a developer community, such as StackOverflow, and someone there may be able to assist you with developing that functionality.

This question has received the maximum number of answers.