Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
I install the package, and use a macro "[uTube] Chromeless Player", and fill the url & width, height fields
then save and publish, the player shows "This video does not allow it to be embedded."
but use "[uTube] Classic Player" macro, it works normally
how can I fix the problem with Chormeless Player??
thx alot :)
Regards,
Bambe :)
Hi Bambe,
Could you let us know the URL of the YouTube video, we'll try to reproduce the issue.
Cheers Lee.
Hi Lee,
The URL is: http://www.youtube.com/watch?v=n7nZJYjR2uo
I've tested this with uTube 1.1 (on Umbraco 4.7) and the URL to gave me works fine in the Chromeless Player macro. Test this macro in both a template and the RTE.
Here is the macro code from my template:
<umbraco:Macro runat="server" Alias="uTube.ChromelessPlayer" uTubeVideo="http://www.youtube.com/watch?v=n7nZJYjR2uo" uTubeWidth="320" uTubeHeight="240" />
Usually the "This video does not allow it to be embedded." message is due to a YouTube setting with the video - so not sure what the problem was?
Cheers, Lee.
I've tested again too (RTE & Template), but the issue still the same, it's the umbraco version issue?
my version is 4.7.0RC, uTube version is 1.1
I know that message is about YouTube settings
but it unreasonable the Classic Player macro is working fine
and the other issue, if the video url include 'http://', it will parse error in XSLT (in chromeless player macro, classic player is fine)
btw, the uTube.XSLT library could be included much more functions? e.g:ViewCount ... etc... :)
thx alot and test :)
Not sure what the issue is with the chromeless player, I take it that you've tried other YouTube videos, do they work?
As for the video data, we do provide an XSLT extension to get the XML data.
For your video it's here: http://gdata.youtube.com/feeds/api/videos/n7nZJYjR2uo?v=2
An example XSLT to show the view count:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" xmlns:uTube.XSLT="urn:uTube.XSLT" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007" exclude-result-prefixes="msxml umbraco.library uTube.XSLT atom yt"> <xsl:output method="xml" omit-xml-declaration="yes"/> <xsl:param name="currentPage"/> <xsl:template match="/"> <xsl:variable name="videoId" select="uTube.XSLT:GetVideoId('n7nZJYjR2uo')"/> <xsl:variable name="videoData" select="uTube.XSLT:GetVideoData($videoId)"/> <dl> <dt>Video Count</dt> <dd> <xsl:value-of select="$videoData/atom:entry/yt:statistics/@viewCount" /> </dd> </dl> </xsl:template> </xsl:stylesheet>
Important to remember to reference the XML namespaces for both Atom and YouTube at the top of your XSLT.
Thanks for your XSLT help on ViewCount :)
and the Chromeless Player, I try a lot more, and I maybe got some problem(?? :) ),
when I use video url without 'http://' it will show not embedded message on player
if include 'http://', some video can be work, some can't
I provide you I tested work and not work video to test :)
work video:
1.http://www.youtube.com/watch?v=mvR--Cja1bM 2.http://www.youtube.com/watch?v=Bg59q4puhmg 3.http://www.youtube.com/watch?v=-3-p_4z6FiM
not work video:
1.http://www.youtube.com/watch?v=9yYxTukh0LA2.http://www.youtube.com/watch?v=K-D1GsqoXxs3.http://www.youtube.com/watch?v=orFBHWwNyNk
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Chromeless player - This video does not allow it to be embedded.
Hello,
I install the package, and use a macro "[uTube] Chromeless Player", and fill the url & width, height fields
then save and publish, the player shows "This video does not allow it to be embedded."
but use "[uTube] Classic Player" macro, it works normally
how can I fix the problem with Chormeless Player??
thx alot :)
Regards,
Bambe :)
Hi Bambe,
Could you let us know the URL of the YouTube video, we'll try to reproduce the issue.
Cheers Lee.
Hi Lee,
The URL is: http://www.youtube.com/watch?v=n7nZJYjR2uo
thx alot :)
Regards,
Bambe :)
Hi Bambe,
I've tested this with uTube 1.1 (on Umbraco 4.7) and the URL to gave me works fine in the Chromeless Player macro. Test this macro in both a template and the RTE.
Here is the macro code from my template:
Usually the "This video does not allow it to be embedded." message is due to a YouTube setting with the video - so not sure what the problem was?
Cheers, Lee.
Hi Lee,
I've tested again too (RTE & Template), but the issue still the same, it's the umbraco version issue?
my version is 4.7.0RC, uTube version is 1.1
I know that message is about YouTube settings
but it unreasonable the Classic Player macro is working fine
and the other issue, if the video url include 'http://', it will parse error in XSLT (in chromeless player macro, classic player is fine)
btw, the uTube.XSLT library could be included much more functions? e.g:ViewCount ... etc... :)
thx alot and test :)
Regards,
Bambe :)
Hi Bambe,
Not sure what the issue is with the chromeless player, I take it that you've tried other YouTube videos, do they work?
As for the video data, we do provide an XSLT extension to get the XML data.
For your video it's here: http://gdata.youtube.com/feeds/api/videos/n7nZJYjR2uo?v=2
An example XSLT to show the view count:
Important to remember to reference the XML namespaces for both Atom and YouTube at the top of your XSLT.
Cheers, Lee.
Hi Lee,
Thanks for your XSLT help on ViewCount :)
and the Chromeless Player, I try a lot more, and I maybe got some problem(?? :) ),
when I use video url without 'http://' it will show not embedded message on player
if include 'http://', some video can be work, some can't
I provide you I tested work and not work video to test :)
work video:
not work video:
thx alot :)
Regards,
Bambe :)
is working on a reply...