<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Joe,<br>
<br>
This is a browser security issue having to do with the sandbox
nature of JavaScript. <br>
<br>
All browsers (when working as desired) prevent the access to
content from a different domain than the requesting page. In your
case the requesting page is in the 'local' domain and the
requested content is from <a class="moz-txt-link-abbreviated" href="http://www.x3dom.org">www.x3dom.org</a>. This is also known as the
same origin policy.<br>
<br>
A Google search of these terms (including "cross resource sharing
javascript") show some mechanisms but it was not clear to me if
any of them would work in this context.<br>
<br>
My suggestion is to download everything locally (x3dom.js,
x3dom.css, bigBuckBunny.ogv, and Peach_Rinkysplash.jpg) and
specify a relative URL to those files.<br>
<br>
<br>
The issue of local origin is a known issue that the X3D Working
Group is addressing for the V4 of the specification. Fraunhofer's
work on X3DOM is a very important part for determining the future.
X3DOM is the prototype for V4. We are investigating several
different solutions to keep this easy for content developers. If
you are interested, please contact me (<a class="moz-txt-link-abbreviated" href="mailto:web3d@realism.com">web3d@realism.com</a> or from
the Web3D.org website).<br>
<br>
Leonard Daly<br>
X3D WG Co-Chair<br>
<br>
<br>
<br>
<br>
</div>
<blockquote
cite="mid:006501cff906$c4dbe8a0$4e93b9e0$@suitefactory.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Ref: Using <MovieTexture> node will
not work locally(PC) because of security issues! While testing
the following code the Movie was displayed in Black. As it
turned out there was a security error which I understand was
the reason for displaying the Movie Black.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How is an end User supposed to test their
code if this can’t be overridden? Can it be overridden? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Joe Lewis <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">**********************************************************
Code *********************************************** <o:p></o:p></p>
<p class="MsoNormal"><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML
1.0 Strict//EN'
'<a class="moz-txt-link-freetext" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>'><o:p></o:p></p>
<p class="MsoNormal"><html><o:p></o:p></p>
<p class="MsoNormal"><head><o:p></o:p></p>
<p class="MsoNormal"> <meta
http-equiv="content-type" content="text/html; /><o:p></o:p></p>
<p class="MsoNormal"> <meta http-equiv="X-UA-Compatible"
content="IE=edge"/><o:p></o:p></p>
<p class="MsoNormal"> <title>My first X3DOM
page</title><o:p></o:p></p>
<p class="MsoNormal"> <script type='text/javascript'
src='<a class="moz-txt-link-freetext" href="http://www.x3dom.org/download/x3dom.js">http://www.x3dom.org/download/x3dom.js</a>'>
</script><o:p></o:p></p>
<p class="MsoNormal"> <link rel='stylesheet'
type='text/css'
href='<a class="moz-txt-link-freetext" href="http://www.x3dom.org/download/x3dom.css'/">http://www.x3dom.org/download/x3dom.css'/</a>><o:p></o:p></p>
<p class="MsoNormal"></head><o:p></o:p></p>
<p class="MsoNormal"><body ><o:p></o:p></p>
<p class="MsoNormal"><h1>Hello, X3DOM!</h1><o:p></o:p></p>
<p class="MsoNormal"><p><o:p></o:p></p>
<p class="MsoNormal"> Learn how to use images and videos as
texture<o:p></o:p></p>
<p class="MsoNormal"></p><o:p></o:p></p>
<p class="MsoNormal"><x3d width='500px' height='400px'><o:p></o:p></p>
<p class="MsoNormal"> <scene><o:p></o:p></p>
<p class="MsoNormal"> <Transform translation='-3.2 0
0'><o:p></o:p></p>
<p class="MsoNormal"> <shape><o:p></o:p></p>
<p class="MsoNormal"> <appearance ><o:p></o:p></p>
<p class="MsoNormal"> <MovieTexture
repeatS="false" repeatT="false"
url='<a class="moz-txt-link-rfc2396E" href="http://doc.x3dom.org/tutorials/basics/imagesMovies/bigBuckBunny.ogv">"http://doc.x3dom.org/tutorials/basics/imagesMovies/bigBuckBunny.ogv"</a>'></MovieTexture><o:p></o:p></p>
<p class="MsoNormal">
</MovieTexture><o:p></o:p></p>
<p class="MsoNormal"> </appearance><o:p></o:p></p>
<p class="MsoNormal"> <box ></box><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> </shape><o:p></o:p></p>
<p class="MsoNormal"> </Transform><o:p></o:p></p>
<p class="MsoNormal"> <shape><o:p></o:p></p>
<p class="MsoNormal"> <appearance><o:p></o:p></p>
<p class="MsoNormal"> <ImageTexture
url=<a class="moz-txt-link-rfc2396E" href="http://upload.wikimedia.org/wikipedia/commons/thumb/0/09/Peach_Rinkysplash.jpg/800px-Peach_Rinkysplash.jpg">"http://upload.wikimedia.org/wikipedia/commons/thumb/0/09/Peach_Rinkysplash.jpg/800px-Peach_Rinkysplash.jpg"</a>></ImageTexture><o:p></o:p></p>
<p class="MsoNormal"> </appearance><o:p></o:p></p>
<p class="MsoNormal"> <box></box><o:p></o:p></p>
<p class="MsoNormal"> </shape><o:p></o:p></p>
<p class="MsoNormal"> </scene><o:p></o:p></p>
<p class="MsoNormal"></x3d><o:p></o:p></p>
<p class="MsoNormal"></body><o:p></o:p></p>
<p class="MsoNormal"></html><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">********************************************************************************************************************<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
X3D-Public mailing list
<a class="moz-txt-link-abbreviated" href="mailto:X3D-Public@web3d.org">X3D-Public@web3d.org</a>
<a class="moz-txt-link-freetext" href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font class="tahoma,arial,helvetica san serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
X3D Co-Chair<br>
Cloud Consultant<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>