i want to to embed twitter spaces audio file in my website, this is live audio example of the twitter audio spaces (https://twitter.com/i/spaces/1vOGwyeYanmxB), i just want to embed these audio to my website.
Related
I upload a video to Youtube and set as premiere, it can be played normally, but when i copy embedding code and paste it to my web site, there appeared an error Playback on other website has been disabled by the video owner.
I tried to enable the Embedding option in Youtube video settings, but seems like it can't be enabled until the premiere is end.
Music sites like Playmoss and Submissionhub manage to retrieve the YouTube video file URL from the standard player watch URL. When a user pasts a YouTube URL like this into their service, the get the video file URL like this and save them in their system. This is necessary to later reproduce the media files with an external audio player like SoundManager2.
I learned that it's possible to retrieve the info from command line but that's impossible to do so from embedded YouTube videos.
Any idea how the mentioned sites manage to do that?
It is impossible (and illegal) to retrieve YouTube video URL. Music sites like the mentioned in the question seem to play YouTube files controlling the embedded videos. This can be done using Javascript as described here.
I am developing an iPhone app with the Youtube API. I am playing the video inline. Is there a way I can exclude from the youtube search video's that give the message "this video contains content from WMG." It is restricted from playback.
In my app I have played a youtube video by embedding it, but how can i only play the audio of the video? I tried using AVAudioPlayer and use the videos url as the file path but it didnt work, any help?
No it is not possible, only one workaround is just to use a hidden UIWebView and play in that.
Youtube forbids playing audio only! here is the message from youtube
Your API Client will not, and You will not encourage or create functionality for Your users or other third parties to: "separate, isolate, or modify the audio or video components of any YouTube audiovisual content made available through the YouTube API"
-Kuan Yong, YouTube API Team
i have an swf media player
which play flv videos
but i want it to play youtube videos
so i must pass to the player flv file path
the senario is a website which i can upload videos or put a url
and i can put a youtube video URL
i am using asp.net
and i need a solution
whenever i detect a user is entering youtube video
i must convert it to flv file path to be played in the player
This post explains how to retrieve links of different qualities (FLV and more): youtube get_video not working
However, if you're just going to play the videos, it would be easiest to use Youtube's chromeless player API: http://code.google.com/apis/youtube/flash_api_reference.html
You can use a current web service which is already implemented for your project
Use www.keepvid.com to decode the url from YouTube. First go to YouTube and load a video then you copy the url in the address bar and it should show something like this:
http://chi-v48.chi.youtube.com/get_video?video_id=TvedUxLtZKQ
One thing left to do is to add .flv to the end of the url so it ends up like this:
http://chi-v48.chi.youtube.com/get_video?video_id=TvedUxLtZKQ.flv