Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Bradsted Bodenhoff 27 posts 47 karma points
    May 03, 2011 @ 11:58
    Peter Bradsted Bodenhoff
    0

    uTube.ChromelessPlayer will not work

    Hi everybody

    I'm testing uTube and it looks very smart, but I have some troubles with the uTube.ChromelessPlayer... I can't get it to work.

    I have included the required css an js-files - but all I get is this: Error parsing XSLT file: \xslt\uTube/chromeless.player.xslt

    I have no problems with the uTube.ClassicPlayer

    This is how i call them in my template:

    <umbraco:Macro uTubeVideo="dkCLD1GSfkY" uTubeWidth="" uTubeHeight="" Alias="uTube.ChromelessPlayer" runat="server"></umbraco:Macro>
    <umbraco:Macro AllowFullScreen="1" VideoUrl="dkCLD1GSfkY" VideoWidth="480" VideoId="" AspectRatio="" VideoHeight="" Alias="uTube.ClassicPlayer" runat="server"></umbraco:Macro>

    I will appreciate your inputs...!!

  • Sean Mooney 131 posts 158 karma points c-trib
    May 03, 2011 @ 14:43
    Sean Mooney
    0

    If you add

    ?umbdebugshowtrace=true 

    to the url you are viewing it should show the stack trace and give you a better idea of what is causing the problem

    http://www.cpalm.dk/blog/2008/01/20/umbraco-debugging-made-easy.aspx

  • Peter Bradsted Bodenhoff 27 posts 47 karma points
    May 03, 2011 @ 14:51
    Peter Bradsted Bodenhoff
    0

    This is what I get from the StackTrace:

    umbracoMacro InnerExceptionCannot find a script or an extension object associated with namespace 'urn:uTube.XSLT'.
    Cannot find a script or an extension object associated with namespace 'urn:uTube.XSLT'.
      at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
      at System.Xml.Xsl.CompiledQuery.Query.(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces) in D:\Rybners Umbraco temp\xslt\uTube\chromeless.player.xslt:line 27
      at System.Xml.Xsl.CompiledQuery.Query.(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
      at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
      at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
      at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
      at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
      at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
      at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)

    ... please help!

     

     

  • Sean Mooney 131 posts 158 karma points c-trib
    May 03, 2011 @ 15:00
    Sean Mooney
    0

    Can you look at your xsltExtensions.config file (/config/xsltExtensions.config) and make sure there is an entry for uTube listed:

    <ext assembly="/bin/uTube.Core" type="uTube.Core.XsltExtensions.Library" alias="addXsltExtension"></ext>

     

Please Sign in or register to post replies

Write your reply to:

Draft