• Hi out there.
    I’m trying to get panoramic flash images running (and object rotations as well).
    They were made with Object2VR and Pano2VR and both need the same .js file to run (p2q_embed_object.js).
    so I installed simple javascript management and added it to the list (shows up in header, so this should be ok).
    but if I enter the code on the specific site it is somehow changed in the html-result.

    original:

    <script type="text/javascript">
    <!--
    			if ((window.p2q_Version) && (window.p2q_Version>=2.0)) {
    				var flashvars="";
    				p2q_EmbedFlash('flash/rathaus_hannover_small.swf','413','250','allowFullScreen','true','bgcolor','#ffffff','FlashVars',flashvars);
    
    				// Check to see if the version meets the requirements for playback
    				if (!DetectFlashVer(9,0,0)) {
    					document.write('<p class="warning">This content requires Adobe Flash Player Version 9 or higher. '
    								 + '<a href="https://www.adobe.com/go/getflash/">Get Flash<\/a><\/p>');
    				}
    			} else {
    				document.writeln('<p class="warning">p2q_embed_object.js is not included or it is too old! Please copy this file into your html directory.<\/p>');
    			}
    //-->
    		</script>
    		<noscript>
    			<p class="warning">Please enable Javascript!</p>
    		</noscript>

    and displayed in the resulting page:

    <script type="text/javascript">
    <!--
    			if ((window.p2q_Version) && (window.p2q_Version>=2.0)) {
    				var flashvars="";
    				p2q_EmbedFlash('flash/rathaus_hannover_small.swf','413','250','allowFullScreen','true','bgcolor','#ffffff','FlashVars',flashvars);</p>
    <p>				// Check to see if the version meets the requirements for playback
    				if (!DetectFlashVer(9,0,0)) {
    					document.write('
    <p class="warning">This content requires Adobe Flash Player Version 9 or higher. '
    								 + '<a href="https://www.adobe.com/go/getflash/">Get Flash<\/a><\/p>');
    				}
    			} else {
    				document.writeln('
    <p class="warning">p2q_embed_object.js is not included or it is too old! Please copy this file into your html directory.<\/p>');
    			}
    //-->
    		</script><br />
    		<noscript></p>
    <p class="warning">Please enable Javascript!</p>
    <p>		</noscript></p>

    it’s only a small change (&& to &&#038) but I think that’s the problem.

    I’d be very happy if anyone knows a solution for this cause it’s the only thing that stops me from changing from a static site to wordpress.

Viewing 1 replies (of 1 total)
  • Thread Starter psychoborg

    (@psychoborg)

    if posted the change is not visible.
    ??
    I guess that’s unicode interpretation.
    problem takes place in the third line.

Viewing 1 replies (of 1 total)
  • The topic ‘how do I get a flash panorama working (using a .js file)?’ is closed to new replies.