home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
No Url Error 150 It+is+restricted+from+playback+on+certain+sites
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="StarWup" data-source="post: 967549" data-attributes="member: 112456"><p>As you may have guessed ;-) this is because the video conatins the corents from Warner Music Group (WMG). The WMG company policy does not allow this youtube video to be played in your personal blog/website/embeddedwhatsever. Embed restrictions are set by the content owner. One aspect of the logic that determines if a video is playable or not depends on the document having a referrer. In the case where you type the address in directly, there is no referrer and the embed policies in this case decide that the video is not playable. You can probably embed these videos elsewhere and they will play.</p><p> </p><p>The URL structure with the word "watch" in it is Youtube's public facing web page, which includes a lot more than the video ... it includes all the other content you see on the page as well. In essence, it's a pointer that resolves to an HTML page, and you can't have an HTML page as the source of an embed element.</p><p>The URL structure that is proper (i.e. the one that works) is not a pointer to an HTML page but a pointer that resolves directly to the player itself, and thus can serve as the source of an embed element. Here's a link to another forum's user question whose answer includes a C# code block that takes a regular YouTube URL (in any of its forms) as an input, does a regex match, and returns just the Youtube ID -- should be pretty simple to modify it for your needs ... thus you can still continue to have your users paste in the whole video URL: </p><p><a href="http://stackoverflow.com/questions/3652046/c-sharp-regex-to-get-video-id-from-youtube-and-vimeo-by-url" target="_blank">http://stackoverflow.com/questions/3652046/c-sharp-regex-to-get-video-id-from-youtube-and-vimeo-by-url</a></p><p> </p><p>Cheers,</p><p>Jens</p></blockquote><p></p>
[QUOTE="StarWup, post: 967549, member: 112456"] As you may have guessed ;-) this is because the video conatins the corents from Warner Music Group (WMG). The WMG company policy does not allow this youtube video to be played in your personal blog/website/embeddedwhatsever. Embed restrictions are set by the content owner. One aspect of the logic that determines if a video is playable or not depends on the document having a referrer. In the case where you type the address in directly, there is no referrer and the embed policies in this case decide that the video is not playable. You can probably embed these videos elsewhere and they will play. The URL structure with the word "watch" in it is Youtube's public facing web page, which includes a lot more than the video ... it includes all the other content you see on the page as well. In essence, it's a pointer that resolves to an HTML page, and you can't have an HTML page as the source of an embed element. The URL structure that is proper (i.e. the one that works) is not a pointer to an HTML page but a pointer that resolves directly to the player itself, and thus can serve as the source of an embed element. Here's a link to another forum's user question whose answer includes a C# code block that takes a regular YouTube URL (in any of its forms) as an input, does a regex match, and returns just the Youtube ID -- should be pretty simple to modify it for your needs ... thus you can still continue to have your users paste in the whole video URL: [url]http://stackoverflow.com/questions/3652046/c-sharp-regex-to-get-video-id-from-youtube-and-vimeo-by-url[/url] Cheers, Jens [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
No Url Error 150 It+is+restricted+from+playback+on+certain+sites
Contact us
RSS
Top
Bottom