i am building an ios app, and up until recently we were able to play youtube videos inline with no problems.
now with the latest API, we are having trouble getting the same result. it just returns this "device support" video: https://www.youtube.com/watch?v=UKY3scPIMd8
how can i play youtube videos inline? specifically videos related to WMG & VEVO, etc.
please let me know of any alternate solutions as well.thank you
Related
We are developing a mobile application (using ionic framework, jquery) and thinking to let our users to share videos from vimeo, youtube etc. in this case we are integrating vimeo video link in iframe. Below are challenges:
Not able to play vimeo videos inline in our application:
on iPhone device when we play vimeo video from our ionic application it opens in a native video player, on the contrary we want to play it inline in our application itself
in case of Youtube video its supported and works well. They have provide Playsinline property to support it.
As per vimeo developers documentation, we have not found any similar video player property to allow inline video rendering
Is there any workaround that you suggest to play vimeo video inline inside application?
Play, seek & load progress events are not supported in mobile application
As per your developers page, play, seek, load progress etc events are not supported in mobile application
Is there any workaround to enable these events on our mobile application
Yes, I know there are limitations that vimeo has declared but can someone provide me if there are any workarounds? Your response to our queries is very much important for us.
Reference:
https://developers.google.com/youtube/player_parameters
https://developer.vimeo.com/player/js-api#event-compatibility
try adding background=1 to your embed code
<iframe id="player1" src="https://player.vimeo.com/video/[video id]?api=1&player_id=player1&background=1" width="630" height="354" frameborder="0"></iframe>
This wil not work in browsers which revert to the flashplayer.
I don't know if you'll have javascript API functionallity.
This will remove all controls aswell. What I've read, it's still in an experimental fase, but hope it works for you.
I have seen several sites where they are able to create links to videos and they actually open on the video player of the iPhone, iPad or iPod.
This is obviously not a flash player video, and they don't seem to be embedded from youtube.
So I was wondering how can I add a video on my site that can be opened on an iPhone, and also what type of format is required for this?
Thanks
HTML5 Video works on iOS devices, see http://html5video.org
and here is a decent player plugin
http://videojs.org
Hi all im trying to load youtube/Dailymotion video using the iframe method in my phonegap app on iphone but everytime i play the video the alert message popsup saying this movie could not be played please help
Have you tried playing a non-commercial video, like a tutorial or something? If that plays you know at least that it is possible to play certain videos. There may be restrictions for playing some videos.
I am developing an iphone app in which i have to integrate the youtube api.
I am using gdata-objectivec-client library for iphone
http://code.google.com/p/gdata-objectivec-client/
I am able to search, like, dislike, upload video etc. through this library but i don't know how to stream and download the video from youtube using this library as there is no class for this.
My question is that is it possible to download/stream the youtube video through gdata-objectivec-client library?
Thanks in advance.
You cant download youtube video using API. Its against thier Terms and conditions.
But streaming is possible i think.
Check this post
iphone:How to stream and play youtube video with in application using MPMoviePlayer?
I want to make a youtube app like application for the iphone, where some videos are streamed/downloaded from a video site. But just by looking at the youtube app, I have a doubt.
I searched around on google, and it seems iphone does not have builtin support to play flv files. So how is the youtube app able to play the videos? Where does the encoding etc happen?
From Wikipedia: "Since June 2007, YouTube's videos have been available for viewing on a range of Apple products. This required YouTube's content to be transcoded into Apple's preferred video standard, H.264, a process that took several months"
The iPhone YouTube app doesn't play FLV, it plays H.264 versions of YouTube's videos. Apple arranged this with YouTube privately. You will need to convert your videos to a format that the iPhone can play.