Viewing Flash Media Player code

Flash Media Player code



User: Yelena 10 years ago
I used a Flash Music Player on my IWeb site and am wondering where to insert the following code in EasyWeb? I uploaded the player and the music file into External Files, then inserted the code into HTML (as I used to do in IWeb). But it doesn't work. Clearly something has to be done differently...( I assume the file path should be changed to the format that EasyWeb uses. I tried that but still nothing...

If someone can help it would be greatly appreciated (by someone I mean Roddy of course...:)
Quote:





-------------------------------
Yelena
MacBook Pro OS X 10.10.3
IMac 21" OS X 10.10.3
User: Paul-RAGESW 10 years ago
Right click on your music file in the External files and select 'Copy Relative Path'.

Then paste that into this line;

options.mediaPath = "01 Piangete voi.mp3";


Replacing 01 Piangete voi.mp3

Did you also include the swf files in this line?


swfobject.embedSWF("OriginalThinMusicPlayer.swf", "media-player", "951", "21", "9.0.0","expressInstall.swf", options, params);


If so you have to do the same with these two .swf files.

-------------------------------
Paul
EverWeb Developer
User: Roddy 10 years ago
There's not really a lot of point in using a flash player now that more people are viewing websites on mobile devices that don't support it.

Better to use the one mentioned in this topic...

http://ragesw.net/easyweb-beta/viewtopic.php?f=5...t=610

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Yelena 10 years ago
Quote:
Right click on your music file in the External files and select 'Copy Relative Path'.

Then paste that into this line;


Yes, this is exactly what I was doing. Aside from that I was pasting the entire code as is above into HTML widget. I see a white strip where I want the player but nothing else....

-------------------------------
Yelena
MacBook Pro OS X 10.10.3
IMac 21" OS X 10.10.3
User: Roddy 10 years ago
@Paul
I was under the impression that EasyWeb couldn't read file paths in java script. Has this changed or am I deluded?

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 10 years ago
Quote:
@Paul
I was under the impression that EasyWeb couldn't read file paths in java script. Has this changed or am I deluded?


In java script code it can. In external java script files it can't.

-------------------------------
Paul
EverWeb Developer
User: Roddy 10 years ago
Oh OK.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Yelena 10 years ago
OK, I got it to work. The player file should not be in External Files Folder when published but in the main directory. By the way, when I placed it in the External Files in EasyWeb it doesn't get published and I have to upload it manually. That's fine but would be great to know - maybe in a later tutorial?

Roddy: the player works great in Safari, Firefox and Chrome... What is the problem then? I know it doesn't work on Mobile devices but I can use HTML5 for Mobile version. Right?

-------------------------------
Yelena
MacBook Pro OS X 10.10.3
IMac 21" OS X 10.10.3
User: Roddy 10 years ago
You can use the HTML5 version in mobile sites but it has some essential features missing and the idea is to create a uniform appearance in all browsers and on all devices.

I'm trying to get a client project finished by tonight so I don't have time today but I will try to get things together for a tutorial and file download for mediaelement as soon as I can.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Yelena 10 years ago
Roddy, thank you! But please don't rush or worry about it....For my personal needs Flash is great for now and the HTML 5 for Mobile works fine for me...But of course if we can have a more sophisticated device that works well across all devices - perfect. For now however I am totally satisfied (proud of myself for figuring things out...:)

-------------------------------
Yelena
MacBook Pro OS X 10.10.3
IMac 21" OS X 10.10.3


Post Reply
You must login or signup to post.