Youtube Videos on IOS Not working - ios

I am trying to use Youtube Videos link to my website..
I can able to view the videos in all browsers but cant view them on IPads and Iphones.
I am getting the html code as in the link Click For LINK Here with out getting the Video:
Can you please help me out.

make sure, Does iOS Device support format of video you are linking.

Related

YouTube iFrame does not count views

I've embedded a video on my site using YouTube's new iFrame embed code, but sadly whenever I test-watch the video on my site, the view count doesn't get increased on YouTube. My video is not on autoplay and it doesn't have 300+ views (it has less than that) so that's not the problem.
I've also tried using the old embed code from YouTube and that works, the view counts increase everytime I test-watch the video from the site.
I'm asking this cause I can't use the old embed code since it's not supported by Apple. So my question is, is it normal that the iFrame code can't count views? What else can I do? Any help at all would be well-appreciated!
Thanks!
Hi having the same issue, please let me know i you find out.
https://stackoverflow.com/questions/26929539/youtube-iframe-does-not-trigger-counter-but-old-method-works

How to remove video controls from YouTube videos?

I'm trying to create an app and have embedded YouTube videos, but I need to remove the on-screen controls from the player (play/back/forward/volume, etc.). Does anyone have any suggestions on how to do this? Is it possible to have my own custom buttons instead (for example, "forward 60 seconds") I've looked at MPMoviePlayerController but research has me under the impression this is not what is called when UIWebView fires up a YouTube video.
I've also looked at the YouTube API but can't seem to find any good tutorials or examples on how to actually use it for iOS development.
Can someone point me in the right direction? I've been trying to figure this out for a couple of days and I just seem to be spinning my wheels.
Any help would be greatly appreciated!
you have multiple options
1. use youtube data api. you can edit the video controls if you use it.
2. you can use 3 rd party frame work youtubekit visit https://github.com/rinov/YoutubeKit
if you want to watch a tutorial got to youtube there is a channel called "codewithchris". here is the link https://www.youtube.com/playlist?list=PLMRqhzcHGw1aLoz4pM_Mg2TewmJcMg9ua
UIWebView is very limited. You cannot put video controls there. Because what UIWebView do is just shows another website as a frame. If there must be some controls, that controls should be in the website. So you cannot add any further controls.
If you want to use control buttons for your videos, instead of youtube, put the video in webpage with control buttons as like. Then put it in UIWebView. Or you can use the media player.

Playlist (embedded ) broken on iOS

Since Oct 17th (2013)
Embedded Playlist no longer work on iOS (iPad, iPhone)
Verified on iPad2 (iOS6) , iPhone4s (iOS7)
Verifed with a few different playlists.
Verified by many others
I repeat this is about the STANDARD EMBEDDED PLAYLIST
as it is shown on Youtube-website below the videos (share >embed)
(ie: NOT any special API-script , NOT any "comma-separated-list"
NOT cuePlaylist, NOT SWFobj ..but the SIMPLE STANDARD PLAYLIST EMBED CODE)
as it is shown on Youtube´s website below all videos that are part of a playlist.
They simply don't load and nothing appears just a plain black screen.
When I embed ONLY ONE SINGLE video then it will play fine on iOS
Below (standard) playlist embed-code shows only a black screen and on top
just the title bar with title of the 1st video.
<iframe width="928" height="522" src="http//www.youtube.com/embed/videoseries?list=PLB4CF45A350C9CD8A" frameborder="0" allowfullscreen></iframe>
Below (extended) code shows only a totally black screen:
<iframe width="928" height="522" src="http://www.youtube.com/embed/videoseries?list=PLB4CF45A350C9CD8A&autoplay=0&autohide=1&rel=0&iv_load_policy=0&modestbranding=1&showinfo=0 "frameborder="0" allowfullscreen></iframe>
As said both codes used to work fine on iOS untill last week 17th.
Both codes work fine on all desktop browsers.
Link to the general youtube help forum
where we are told to post here and
where you can see that others have the same problem:
http://productforums.google.com/forum/#!category-topic/youtube/playing-and-watching-videos/report-a-technical-issue/ios/_crm-T7BFvM%5B1-25-true%5D
Question-1:
Is this a new bug on Youtube's side ?
Question-2:
Is there a workaround available until they repair it ?
This is a reported issue. Workarounds are here: https://code.google.com/p/gdata-issues/issues/detail?id=5411
You can also track the fix from there.
Or try this
http://www.youtube.com/embed/?listType=playlist&list=PLmlOlokCCWI8eOeameRUzyqcTXIxzwlKo
This is the way I always use it
Your problem is related to an issue I originally reported on the Google gdata-issues forum.
As of today, Google has fixed it:
https://code.google.com/p/gdata-issues/issues/detail?id=5411#c14

Youtube iframe embed with webkit-transform scale on iOS

I would have loved to use -webkit-transform scale() on an embedded youtube iframe for mobile users. But if you visit http://jsfiddle.net/tKbHz/9/ on iOS, there is some funkiness with the scaling of the iframe. This is not the case in Chrome or Desktop Safari (Mac). I believe I have found a bug within youtube - because other iframes seem to behave properly. Anyone experience this or know of a fix?
Doesn't the youtube video on mobile devices just go to the media player anyway?

Black Youtube video over Google Maps v3 infowindow!

Ive got this very strange problem related to google maps and youtube. I have embedded a youtube video in an iframe. and i have embed that iframe in an info window. Now the problem is that when i run it on firefox, the video shows up black. on chrome, its distorted. but when i open that iframe in separate tab. the video is just fine!
Anyone else having this problem?
I have tried the same in Google Maps v2 and its working good!
Okay so I have been following this issue for a very long time now. Using the HTML 5 option of embedding a Youtube video and putting wmode=opaque and autoplay=1 and using the latest browsers from FF, IE, Safari and Chrome everything works fine / great. Problem is, intermittently, in FF a video shows up with audio only. This happens say 1 out of 10 times (meaning in 9 cases Youtube video + audio, in 1 case Youtube audio only). Clicking on the dark region brings full screen where video is visible ! I am yet to find out a pattern to diagnose this problem. Else, things are much better now. I am doing like what you are. Clicking on a marker on Maps V3 opens up an iframe. Inside that iframe i call a Youtube video using the iframe embed option. Maps V2, no problem !!!
This is an open issue at Google Maps v3 !
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3160

Resources