I am running a Wordpress (neve theme + Beaver build) site in transition mode of AMP plugin. I have some YouTube videos embedded on the regular way and I would like to start using the amp-YouTube to show this embedded videos.
Problem is: the YouTube videos embedded the regular way show up on both AMP and non-AMP views of the site.
The YouTube videos embedded with amp-youtube shows only on AMP-view.
Is there a workaround to show the videos embedded with amp-youtube on both AMP and non-AMP views? I need the same video to show up on both AMP and non-AMP views...
(Note: I am far from being a hard site developer!)
Does the same occur with the default WordPress editor using the YouTube block? Why not ask in the AMP plugins support forums?
Related
Using iframe a youtube playlist embed displays the first video
playlist opens with this view
I want the view to open like this
This is my preferred default view (I would really like to open with titles, not thumbnails
It seems is not possible using YouTube Data API.
You'll have to use YouTube Data API for retrieve the videos from a given playlist, then, use custom code HTML, CSS, javascript, etc, for create a similar result as you need.
I know that Youtube changed the ability to remove related videos (it'll show public videos in that channel now if you set rel=0. But i noticed some websites not having the related video, but when i try it with the iframe on my website, it has the related videos.
Is there any API or youtube request needed to remove the related videos?
There aren't official youtube api that accomplish this after changes you cited (ref: https://developers.google.com/youtube/player_parameters#release_notes_08_23_2018).
Only with workarounds you can "disable", or better "not show" related videos.
There are some snippets on the web, look those!
ps: example this https://www.maxlaumeister.com/blog/hide-related-videos-in-youtube-embeds/ (a platform's plugin or vanilla code)
I have embeded 3 youtube videos and would like to add functionality to my page to record the videos into an mp3 or wwav file. Is this possible to create this with javascript html5 or jquery?
No. Not unless that javascript talks to some web service that will do the work for you.
I have an octopress site http://irlnathan.github.io/sailscasts/ that embeds different screencasts from youtube. The correct video is displayed when the site is initially loaded, however, when a particular post is selected and one goes back from the browser all of the embedded videos point to the same single video.
I'm hosting the pages on github and I can't figure out why the pages are I think being cached in this way. Has anyone run into this problem?
I don't see the problem you described for your site.
But You might want to add <!--more--> before your videos so that videos are not shown in the blog list page. All these videos made the page loading a bit slow, which kinda defeat the purpose of using static page.
i have a simple youtube search like this :
http://gdata.youtube.com/feeds/api/videos?q='some-value'&v=2&format=5&start-index=1&max-results=10&alt=jsonc&callback='some-function'&orderby=viewCounts&sortorder=descending);
I thought I can use format=5 to get the video that's allow embedded. However, I still getting video that said " it's restricted payback from certain sites."
Any ideas?
You're getting back a video that's embeddable on certain sites, and not embeddable on others. There's more information about embed restrictions at
http://apiblog.youtube.com/2011/12/understanding-playback-restrictions.html