I want to get the automated subtitles from a video at youtube for embeding into a website.
I have tried with:
hl=de&cc_lang_pref=de&cc=1&cc_load_policy=1
But no subtitle shown ...
How can i show subtitles now (in 2022)?
Related
I'm trying to build website (for my own, and for practice) that coantian youtube videos, I know there is a possibility to embed YouTube videos, but I want to know if there is another way to embed the videos, I want all the information of the video to appear, just like on the YouTube site itself.
I want sonthing like this
Example of a video embedded in a normal way
And that includes the title of the video, its length, upload date (or how long ago), preview of the video (when hovering with the cursor over the video), and I also do not want the YouTube icon to appear in the middle of the video image in any embedded video (before playing it).
I know some things can be done using the YouTube API (like video title / video length information), or using functions (e.g. preview gif) but it's a bit cumbersome, and in any case it does not solve the problem of having the YouTube icon In the center of the image of the video.
So I want to know if there option to enbed youtube video with all the details, or at least if there option the get of the sign of youtube that show in the center of the video.
Sorry for my English if there are any mistakes. Thanks in advance from everyone.
I like to know what I need to do to my m3u8 web video to present a thumbnail within the iOS player like the one attached. So far, I only get to see the web site‘s fav icon. The webpage also has an og:image and and the video tag has a poster image. This example shows my m3u8 video embedded in an html video tag:
My m3u8 playlist only contains videos. I tried the video tag‘s poster attribute, but that did not affect the player.
I would like to see something related to the video content like this:
I have embedded youtube using javascript api in my application and its showing the youtube logo on the bottom right , by clicking that logo it loads the youtube interface in the iframe , all I want is to disable that logo or its functionality , I have tried modestbranding in playervars but its not working
You can't remove it completelly.
you need to contact youtube and probably pay them to remove their logo or replace it with a custom one in any of their videos.
you can hide it using ?modestbranding=1 to your url. That will remove the logo temporany until mouseover on the video.
modestbranding (supported players: AS3, HTML5)
This parameter lets you use a YouTube player that does not show a YouTube logo. Set the parameter value to 1 to prevent the YouTube logo from displaying in the control bar. Note that a small YouTube text label will still display in the upper-right corner of a paused video when the user's mouse pointer hovers over the player.
I have SRT file for embeded youtube video on my website and I want to have a table under player container with 2 columns: one for English subtitles and second is for translated subtitles.
I need to hightlight subtitles in both columns, but for this I need to catch event when new subtitle starts.
Is there a way to feed youtube player with SRT file and then catch events every time player starts new subtitle ?
Are there any API in google to get the url of the video content, so that i can play it in "MPMoviePlayerController" or is it possible to customise the player to such a extent that it does not resemble the youtube player. (like hiding "info bar" that appears once the movie completes, play button, activity indicator ...)
I think you should have a look at this component:
https://github.com/0xced/XCDYouTubeVideoPlayerViewController