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

Embed video with captions


Hello,
i would like to know if there is a way to embed a video with its captions via iframe.
This is the iframe video embed code
<div style="position:relative; padding-bottom:56.25%; overflow:hidden;"><iframe src="//content.jwplatform.com/players/xX2xNQ5O-0rzMSYnV.html" width="100%" height="100%" frameborder="0" scrolling="auto" allowfullscreen style="position:absolute;"></iframe></div>
And here are the captions https://content.jwplatform.com/tracks/928Lmkh7.vtt how can i include the captions into the iframe.

Regards

6 Community Answers

Todd

JW Player Support Agent  
0 rated :

My suggestion would be to add that VTT file as a captions track on that video in your JW dashboard. After this is done, I would expect the captions to appear inside your <iframe> embed.

You can upload your captions track from the Tracks section on the video detail page.

h...

User  
0 rated :

Hello Todd and thanks for your answer. The VTT is on the video but is not showing when the video is playing.

Todd

JW Player Support Agent  
0 rated :

Yes, I see that now. I would expect this to work, so I will need to escalate this to our product manager as a bug.

Todd

JW Player Support Agent  
0 rated :

The response I got from our product manager is that this is not current functionality. You would need to upload the original video to us in order to add the captions track.

Another option would be to embed the video using custom code and add the track:[] object directly. Please see http://support.jwplayer.com/customer/portal/articles/1406723-mp4-video-embed and https://support.jwplayer.com/customer/portal/articles/1407438 for more details on this.

h...

User  
0 rated :

Thank you Todd, you were very helpful

Todd

JW Player Support Agent  
0 rated :

You are welcome. I will mark this support case as closed, but certainly contact us again if you have any other support questions or concerns.

This question has received the maximum number of answers.