<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">ok, I'm trying to write an example of how you can embed the videoplayer component and parameterize the URL to play with a URL query param, such as:<div><br></div><div><a href="http://localhost:8080/trunk-sandbox/test/video/test-videoplayer-url-param.lzx?debug=true&lzr=swf9&url=http:videos/good-dog.flv">http://localhost:8080/trunk-sandbox/test/video/test-videoplayer-url-param.lzx?debug=true&lzr=swf9&url=http:videos/good-dog.flv</a></div><div><br></div><div>this works fine in swf8. Looking at the docs here:</div><div><a href="http://labs.openlaszlo.org/trunk-nightly/docs/developers/browser-integration.html#d0e91864">http://labs.openlaszlo.org/trunk-nightly/docs/developers/browser-integration.html#d0e91864</a></div><div>I see that I should use lz.Browser.getInitArg (jnstead of global.url as I used to). Both work in swf8.</div><div><br></div><div>In swf9, lz.Browser.getInitArg('url') works in the debugger, but when I put in LZX like this:</div><div><br></div><div><div><canvas width="400" height="355"></div><div><videoplayer id="v" url="${lz.Browser.getInitArg('url')}" width="100%" /></div><div></canvas></div><div><br></div><div>I get this error:</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; ">ReferenceError: Error #1069: Property $lzc$getInitArg_dependencies not found on LzBrowserService and there is no default value.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at $lzc$class_$23v/$lzc$dependencies_url$v_$m1465()[/Users/sarah/lib/jakarta-tomcat-5.0.30/temp/lzswf9/Users/sarah/src/svn/openlaszlo/trunk-sandbox/test/video/build/test-videoplayer-url-param/$lzc$class_$23v.as:14]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzNode/applyConstraintExpr()[/private/tmp/lzswf9/lzgen34115/LzNode.as:1107]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzNode/__LZresolveReferences()[/private/tmp/lzswf9/lzgen34115/LzNode.as:969]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzNode/__LZcallInit()[/private/tmp/lzswf9/lzgen34115/LzNode.as:443]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzCanvas/__LZcallInit()[/private/tmp/lzswf9/lzgen34115/LzCanvas.as:450]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzCanvas/__LZinstantiationDone()[/private/tmp/lzswf9/lzgen34115/LzCanvas.as:397]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzInstantiatorService/makeSomeViews()[/private/tmp/lzswf9/lzgen34115/LzInstantiatorService.as:234]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzInstantiatorService/checkQ()[/private/tmp/lzswf9/lzgen34115/LzInstantiatorService.as:171]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at Function/<a href="http://adobe.com/AS3/2006/builtin::call()">http://adobe.com/AS3/2006/builtin::call()</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzEvent/sendEvent()[/private/tmp/lzswf9/lzgen34115/LzEvent.as:89]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzIdleService/__idleupdate()[/private/tmp/lzswf9/lzgen34115/LzIdleService.as:53]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">        </span>at LzIdleKernel$/__update()[/private/tmp/lzswf9/lzgen34115/LzIdleKernel.as:25]</div><div><font class="Apple-style-span" face="'Lucida Grande'"><br></font></div><div><font class="Apple-style-span" face="'Lucida Grande'">Can someone please translate? Is this a bug in LzBrowserService or a bug in my example? ... happy to fix either if you can point me in the right direction.</font></div><div><font class="Apple-style-span" face="'Lucida Grande'"><br></font></div><div><font class="Apple-style-span" face="'Lucida Grande'">Thanks,</font></div><div><font class="Apple-style-span" face="'Lucida Grande'">Sarah</font></div></div></div></body></html>