HighDots Forums  

Some swfs playing but not others!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Some swfs playing but not others! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
olicorse
 
Posts: n/a

Default Some swfs playing but not others! - 03-19-2009 , 12:32 PM






Hi,

I recently finished a website where I have included some videos... they all
work okay on the first page (http://www.johnnynelmes.com/videos1.html) but on
the subsequent pages the bar underneath the video is filled with diagonal
scrolling green lines and they won't play. I don't know why this is as I have
uploaded both the swf and the flv they are based on... what am I doing wrong?

Thanks


Reply With Quote
  #2  
Old   
Nancy O
 
Posts: n/a

Default Re: Some swfs playing but not others! - 03-19-2009 , 07:04 PM






One reason could be that you have links throughout your site to scripts that
are located on your local hard drive like these:

<script src="file:///Macintosh
HD/Users/olicorse/Websites/olicorse/Scripts/swfobject_modified.js"
type="text/javascript"></script>

<param name="expressinstall" value="file:///Macintosh
HD/Users/olicorse/Websites/olicorse/Scripts/expressInstall.swf" />

Search your local site's source code for file:/// to quickly locate them
all.

--
Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
www.twitter.com/altweb
www.alt-web.blogspot.com/



Reply With Quote
  #3  
Old   
olicorse
 
Posts: n/a

Default Re: Some swfs playing but not others! - 03-20-2009 , 03:30 AM



Hi,

Thanks for getting back to me. What should I be replacing this code with? I
tried just putting <script src="/Scripts/swfobject_modified.js" instead, but
this prompted Dreamweaver to say:

videos2.html - Put operation successful
Scripts:swfobject_modified.js - same - not transferred
SpryAssets:SpryMenuBar.js - same - not transferred
johnny_menu.css - same - not transferred
johnny_images:button_black.jpg - same - not transferred
johnny_images:button_green.jpg - same - not transferred
johnny.css - same - not transferred
johnny_images:wallpaper.jpg - same - not transferred
johnny_images:h1_background copy.jpg - same - not transferred
johnny_images:class_background.jpg - same - not transferred
banner.swf - same - not transferred
/public_html/file//Scripts/ - error occurred - Unable to create remote folder
/public_html/file//Scripts/. Access denied. The file may not exist, or there
could be a permission problem.
file::Scripts:expressInstall.swf - user cancelled

Also, I noticed I've still got the 'file:///Macintosh
HD/Users/olicorse/Websites/olicorse/Scripts/swfobject_modified.js' on page 1,
which does work ok.

Thanks


Reply With Quote
  #4  
Old   
Nancy O
 
Posts: n/a

Default Re: Some swfs playing but not others! - 03-20-2009 , 01:49 PM



This doesn't look right at all (file followed by 2 slashes):
/public_html/file//Scripts/

Did you define your local site folder in DW such that it mirrors your remote
site?

Where is your Scripts folder located on the local site?



--
Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
www.twitter.com/altweb
www.alt-web.blogspot.com/







Reply With Quote
  #5  
Old   
olicorse
 
Posts: n/a

Default Re: Some swfs playing but not others! - 03-22-2009 , 03:13 PM



Hi,

I don't really understand what you mean by 'did I define my local site folder
to mirror my remote one?'. Does that mean did I put folders in the same places
as they would be on my website I've bought? If so, then no. I didn't know there
was already a Scripts folder on there so wouldn't have tried to put my local
one in the same place.

A the moment my local Scripts folder is just in the root directory.

Thanks


Reply With Quote
  #6  
Old   
Nancy O
 
Posts: n/a

Default Re: Some swfs playing but not others! - 03-22-2009 , 03:41 PM



In DW, click on your Remote Site. Do you see a Scripts folder with the
required scripts in it on your remote site and at root level (public_html)
or where ever you keep your index page?

I'm simply trying to ascertain if your scripts are on the server where they
should be. Because your pages are pointing to a scripts folder on your
local computer which won't do your site any good.


--
Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
www.twitter.com/altweb
www.alt-web.blogspot.com/





Reply With Quote
  #7  
Old   
olicorse
 
Posts: n/a

Default Re: Some swfs playing but not others! - 03-22-2009 , 06:27 PM



My index page is in the root folder and so is my Scripts folder. The only two
files in the Scripts folder are expressInstall.swf and swfobject_modified.js.

I just tried putting one of the videos that work from the first page on one of
the pages that doesn't and it played. I've checked though and everything I've
included for the videos on the first page I've included for the others too. I
don't understand why the first ones play but none of the others, surely they
should all either work or not?


Reply With Quote
  #8  
Old   
Nancy O
 
Posts: n/a

Default Re: Some swfs playing but not others! - 03-22-2009 , 07:32 PM



< I don't understand why the first ones play but none of the others, surely
they
should all either work or not?>

Could be you did something different to your other native Flash files. Or
they got munged during upload to remote server. Stuff like this happens.
My guess (and that's all it is) is that the problem is with the media - not
the html pages. Do a test. Insert one of the non-playing videos onto a
plain vanilla test page. Upload the test page and dependant files to
server. If it plays, you'll have to do the same with all your other
non-playing videos. If it doesn't play, go back to Flash and re-render your
swfs. Sorry I can be of more help.


--
Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
www.twitter.com/altweb
www.alt-web.blogspot.com/




Reply With Quote
  #9  
Old   
Nancy O
 
Posts: n/a

Default Re: Some swfs playing but not others! - 03-22-2009 , 07:37 PM



make that sorry I cannot be of more help. :-)

-N





Reply With Quote
  #10  
Old   
Mark A. Boyd
 
Posts: n/a

Default Re: Some swfs playing but not others! - 03-23-2009 , 08:21 AM



Nancy O posted in macromedia.dreamweaver

Quote:
Could be you did something different to your other native Flash
files.
That's where my money is.

olicorse,

(Looking at http://www.johnnynelmes.com/videos2.html )

You still have links to your local hard drive scattered throughout the
source. You should know by now how to find, fix, and prevent those
problems. I won't specify which links those are. I leave it as an
exercise for you.

The page is loading your .swf files, but I don't see any parameters in
the code telling the .swf file where to locate the .flv videos. This
leads me to believe that you may have entered the paths in Flash.
Wherever you entered the information, it is incorrect, 404 Not Found.

----------------------------------------------------------
Wrong:
http://www.johnnynelmes.com/Users/olicorse/Websites/Johnny%20Nelmes/vid
eos/Punch3/Punch3.flv

Correct:
http://www.johnnynelmes.com/videos/Punches/Punch3.flv
----------------------------------------------------------
Wrong:
http://www.johnnynelmes.com/Users/olicorse/Websites/Johnny%20Nelmes/vid
eos/Punch4/Punch4.flv

Correct:
http://www.johnnynelmes.com/videos/Punches/Punch4.flv
----------------------------------------------------------
Wrong:
http://www.johnnynelmes.com/Users/olicorse/Websites/Johnny%20Nelmes/vid
eos/Punch3_4/Punch3_4_demo.flv

Correct:
http://www.johnnynelmes.com/videos/Punches/Punch3_4_demo.flv
----------------------------------------------------------

I didn't check any other pages on your site, but if they're exibiting
the same problems, it is likely due to incorrect paths again.

If you get the LiveHTTP Headers plugin for FireFox, you will be able to
see requests that are returning 404 Not Found. It should help quite a
bit in troubleshooting problems like this.


HTH


--
Mark A. Boyd
Keep-On-Learnin'


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.