Force embedded youtube video to HD 5K (2020) - youtube

I have tried to embed a video with the parameter: vq=hd2880.
And it does not work. By default it is always "Automatic: 720".
I have tried different values.
The src of iframe:
https://www.youtube.com/embed/[code]?vq=hd1080
https://www.youtube.com/embed/[code]?vq=hd1440 (HD)
https://www.youtube.com/embed/[code]?vq=hd2160 (4K)
https://www.youtube.com/embed/[code]?vq=hd2880 (5K)
It does not work.

Regarding mobile devices: Described in the YouTube documentation, they do not support forcing the quality anymore. I hope anyone comes up with a solution, but for now you cannot change it. See https://support.google.com/youtube/answer/91449 for more info.
edit; I know this is not the answer you wanted of course. We are going to implement Plyr to overcome these issues. Maybe this can help you too.

Related

Why does youtube video work everywhere but other video sources no?

So this will sound like a stupid question, but I notice that video from youtube works on pretty much all browsers without any setup work. However, use a security DVR or a IP camera, and suddenly you need a custom applet that is OS specific added to run it. Why does youtube just work everywhere? Because all the browser makers set it up by default? If the youtube video presentation method is so universal, why does not every video device use the same method/plugin as youtube?
Thanks.
YouTube doesn't "just" work everywhere. They have hundreds of engineers working to keep it working everywhere. They have several copies of each video that work on a sub set of platforms, and spend a lot of time making sure each platform works and continues to work.

iOS 8 -- Capture Screen Video

I am trying to capture the on-screen activity of my app as a video (one that I can save/upload to Youtube).
There are many others who want to do this. Although the answers are generally sparse, there's no in-depth explanation of how to do this or why it can't be done.
There's a paid (and possibly sketchy?) option here.
There's this related, but again, not totally clear SO answer about taking lots of screenshots: link.
There's a Smule app called MadPad HD that "records" the user's actions and stitches them together (but it doesn't actually capture the screen, it just stitches actions together). Here's the output of a stitching: link.
My questions are as follows:
Is capturing the video output of the screen and turning it into video actually possible?
If not, is taking lots of screenshots and turning them into video feasible (performance-wise)?
If 1 and 2 are not true, is this impossible because of device constraints or because Apple doesn't want it?
Thanks!
Perhaps you've already found an answer for this, but I thought I'd answer if anyone else is interested: with iOS 9 this will, of course, be possible through the new ReplayKit by Apple. But if you need it sooner (and with backwards compatibility) there are a couple of alternatives that I know of: Kamcord and Everyplay. Both lets your users record video and share through multiple channels, YouTube included. Both should be Sprite-Kit compatible and easily integrated (at least according to their websites!). Hope this helps!

Testing/Demoing UIMotionEffects in the simulator or on the device

I'm trying to build some educational content for iOS and would like to show how the new UIMotionEffect stuff works in practice. Currently there does not seem to be a way to do any UIMotionEffect stuff in the simulator, which makes sense. But even when trying to do Airplay or HDMI out means that UIMotionEffect's get turned off. As a last resort I can of course just capture the live screen of a device with another camera, but I'd still prefer to do something like the demo from WWDC, although I'm sure they were using some special setting or something. If anyone has any ideas and/or suggestions, that'd be great, thanks!
The only way I've been able to figure out how to do this is through the use of a capture card. The Blackmagic Thunderbolt Shuttle is finicky but when it works it works really well.
Better late than never...but I found this clever solution on GitHub by toco.
https://gist.github.com/toco/6727120
Just add the h. and m. files to your project. I've tested on AirServer on my Mac and it works great.

IP-Cam / CCTV-Cam Live Streaming on iPhone/iPad

I want to get stream of an ip-cam on my iPhone/iPad and want to display it on screen. By R&D i found that ffmpeg is the only way to achieve it but i found nothing on ffmpeg. Is there any other way to achieve it or a confirmed way to get compiled ffmpeg on mac please mention that. Material regarding how to use ffmepg or source code example will be highly appreciated.
Is there nothing built-in framework to achieve it if not then please mention if there is any free framework/sdk to achieve this functionality.
Thanks
There are actually a few.
here are some links
http://www.streammore.tv/
http://www.live555.com/
I am sure if you google you can find more.
I cannot only address the first one, because that is ours, but I didn't want this to sound purely like self promotion.

YouTube embed code on iPad

I'm working on improving the experience of a site by adding in iPad support. This includes support for videos. Our client is pushing towards a YouTube model for storing and serving videos -- great for us! I originally planned to implement the use of YouTube's new HTML5-supporting <iframe> snippets. This offloads the device detection to YouTube and makes embedding a video a cinch as we don't need to worry about compatibility. It turns out the the CMS we're using, Sitecore CMS, strips out <iframe>'s from our WYSIWYG editor. After a lot of research it looks like its a bit hard to not make this happen.
Fast forward to now... I tested out the old style <embed> code and discovered even though iOS doesn't support Flash, these embeds seem to work fine on iPad. Some Stack Overflow research led me to this post which suggests its because of the YouTube plugin /System/Library/Internet Plug-Ins/YouTubePlugIn.webplugin on iPads that allows for the playback.
My question is, is there any documentation that this is the exact reason? I'd like to go by this as why we can use the regular <embed> code but I need to back it up with proof via a document for iOS. Is this YT plug-in on every iPad by default, or do users need to manually install it? This seems like a great solution considering our unfortunate incompatibility with an <iframe> but I need to support the use of the <embed>'s with hard facts. Thanks in advance.
The answer you are looking for is to be found in Apple's URL Scheme Reference. Basically it's a mechanism that comes into play on the iDevices to detect and handle specifically, certain types of URLs - for instance Google Maps, iTunes and also YouTube.
Here's a few reference links.
https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007899
https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/YouTubeLinks/YouTubeLinks.html#//apple_ref/doc/uid/TP40007895-SW1
And just for good measure, you might also want to take a look at the Safari Developer Library for the best practice recommendations on HTML5 Video and Audio embedding :-)

Resources