This question is slightly different from:
https://stackoverflow.com/questions/15034835/can-i-hide-a-embeded-youtube-video-or-is-that-against-the-terms-of-use
When a user visits our website, the YouTube player is visible and in the right size. A user can play the video and see the whole video. Nothing fancy. However we want to put the player in a tabbed interface. Meaning that the user can hide the video by going to another tab. For example:
Video | Info | Share
When the site loads the Video tab is active, but users can click "Info", then the video is hidden while the video keeps playing in the background.
Is this allowed? I would say gray area but I'm not sure. We always show the YouTube logo and link to the YouTube video on youtube.com btw. Also, if a users scrolls down on youtube.com, the user also hides the video and can still hear the audio. Is this perhaps the same area?
This is in their terms of services so i would say it is not allowed
8.separate, isolate, or modify the audio or video components of any YouTube audiovisual content made available through the YouTube API;
9.promote separately the audio or video components of any YouTube audiovisual content made available through the YouTube API;
14.use a video player smaller than the minimum video player size set forth in the YouTube API documentation and specifications.
https://developers.google.com/youtube/terms?hl=it
Related
I want to embed a YouTube video in a web page, without showing the title of the video.
However, according to the YouTube Frame API, since 2018, the showinfo parameter isn't sufficient for that, as even when it is set to 0, the title of the video will still be showed when playback starts.
It is still possible to completely hide the title of the video, as online quiz website Kahoot ( https://create.kahoot.it/ ) manage to do it. However, I am completely unable to understand how they do it, or replicate it.
To try it, just create an account, start a quiz (they call it Kahoot) and insert a YouTube video. When previewing it, the title doesn't ever show!
How can I replicate this?
I've just loaded video.js plugin on my wordpress site.
I would like to find out if it is possible to disable the links 'get video url' etc. I want to add videos from youtube but don't want users linking to the unlisted videos. The videos are for a course and I don't want them shared. only users on the course get access to the videos.
But, the YOUTUBE logo still needs to be active due to their terms and conditions.
Many thanks
I have a web site with a media player for audio built in. Currently when I visit another page in my website the media player resets for obvious reasons (because the entire page gets loaded).
Is there any way to keep the current song that is playing in the audio player, playing while the user clicks through to a new page? The audio player is simply inside a div and when the user wants to play a new song the javascript just changes the audio objects src atribute.
You should use an iframe and keep the audio player outside of it, so the user does not navigate the entire page but only in the iframe
Basic example:
<div id="audioplayer"></div>
<iframe src="index.html"></iframe>
I add videos to my site via the JavaScript YouTube API. It works well except that at the end of the video playback, there are several video choices that appear on my screen. I want to choose the video or videos that appear at the end of my video.
How can I do this?
I have a slider which allows video embeds ( currently by pasting in iframe code from youtube/vimeo etc). The problem I have is that the video needs to pause the slider when the user clicks the video play button and also pause the video when the slider moves to the next frame.
It seems that I will need to use the vimeo and youtube API's to get access to the information and control I want. I have looked through the API's and I think I can probably get this happening; however my problem is that from what I've seen so far the youtube API tends to work off the video ID, whereas the Vimeo API seems to work with iFrames, but I need to have a consistent input for end users in that I want to say "Paste the video ID here" OR "Paste the Iframe here" OR "Paste the video URL here" ... I don't want to have to ask them for an ID from youtube for one video and an Iframe from Vimeo for the next one.
I know how to manipulate the data to make the two consistent but I'd rather avoid that if at all possible. What is the best approach to get programatic access to Youtube and vimeo so that I can achieve access to play and pause and know whether a video is playing or not.
there is a small widget on https://github.com/dachcom-digital/jquery-video with which you can archive the things you're asking for.
You can ask the user for the video ID and render some HTML container. Then you apply the widget and can pause, play, etc. the videos with one consistent API.
Hope this helps.