Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    3
    Member #
    20936
    ok....

    So.... I need a bit of help. I'm not sure what I need to do here, but I'm trying to get a video that I have hosted on my server to play in the center of the page...

    http://bironetworks.com/scott/gallery.html

    Now... instead, I'm getting this error. I've got the video file uploaded and hosted to root at the server, but I'm not sure why i can't get it to display.

    Can anyone tell me why:

    <div id=”main-gallery”>
    <div id="clock"><script>
    flashembed("clock", "/Hewitt_7174 Panorama_out.swf");
    </script>
    </div>

    Produces that error - when I'm calling
    <script type="text/javascript" src="js/p2q_embed_object.js"></script>

    in my header?

    And the file, is obviously here...

    http://bironetworks.com/scott/Hewitt...norama_out.swf

    What am i missing or doing wrong?
    </div>

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,694
    Member #
    5580
    Liked
    717 times
    I'm just taking a wild guess at this one ... I think you shouldn't have spaces in filenames.

    You have this filename:
    "/Hewitt_7174 Panorama_out.swf

    Change that space to an underscore, both the actual filename and your code ....

    "/Hewitt_7174_Panorama_out.swf

    flashembed("clock", "/Hewitt_7174_Panorama_out.swf");


  4. #3
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    idk ml. i have only seen that issue when sending a link to an email but im on linux/apache/cpanel and i have no probs with name spaces. the server should be automatically encoding and decoding. im not sure if this holds true on windows servers tho. but another way to do this would be to manually add the link encode and when the server recieves it(even windows) it should decode and find the file just fine.

    while($get_it !== true){ continue; }

  5. #4
    Junior Member
    Join Date
    Jan 2010
    Posts
    3
    Member #
    20936
    Quote Originally Posted by Dorky
    idk ml. i have only seen that issue when sending a link to an email but im on linux/apache/cpanel and i have no probs with name spaces. the server should be automatically encoding and decoding. im not sure if this holds true on windows servers tho. but another way to do this would be to manually add the link encode and when the server recieves it(even windows) it should decode and find the file just fine.
    Are you suggesting i call the full file URL instead of only the folder?

    I'll give anything a try, this one's just stumping me.

    Could it be an error within the js file?

  6. #5
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    no. what ml is saying is to replace the space in the url with an underscore, you will have to do the same with the actual file name.

    if you are familiar with url-encoding you can skip the renaming by manually encoding the link. otherwise take the advice of ml and use underscores instead of a space.

    while($get_it !== true){ continue; }

  7. #6
    Junior Member
    Join Date
    Jan 2010
    Posts
    3
    Member #
    20936
    did and still no luck. any other suggestions are welcomed.

  8. #7
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,694
    Member #
    5580
    Liked
    717 times
    I just realized you have this for the path and filename ...

    /Hewitt_7174_Panorama_out.swf

    The / in front might be a problem.

    Try:
    Hewitt_7174_Panorama_out.swf

    Or:
    ./Hewitt_7174_Panorama_out.swf


    Also try this ... see if it works ...

    Code:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="1024" height="800" id="myflash" align="middle">
    	<param name="allowScriptAccess" value="sameDomain" />
    	<param name="allowFullScreen" value="false" />
    	<param name="movie" value="Hewitt_7174_Panorama_out.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />	<embed src="Hewitt_7174_Panorama_out.swf" quality="high" bgcolor="#ffffff" width="1024" height="800" name="myflash" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    	</object>



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:54 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com