Post by jaz » Wed Jan 18, 2012 9:30 am

If so, could you please show me the code you used and the location where you stored your swf file please?

I've been trying to add a swf file to my site for 3 days now without any luck.
If i add my swf file to a blank html file in Dreamweaver, it plays back fine.
I'm then using the embed code from that and pasting it into my cart site, but it refuses to play the video.
All I get is a blank white box.
I'm at the verge of madness with this one.
Any help would be hugely appreciated.

Many thanks,

Jaz

jaz
Newbie

Posts

Joined
Fri Oct 21, 2011 7:16 am

Post by jaz » Fri Jan 20, 2012 6:26 am

hrm....i guess that's a 'no'.

:-\

jaz
Newbie

Posts

Joined
Fri Oct 21, 2011 7:16 am

Post by labeshops » Fri Jan 20, 2012 9:27 am

Never tried as I don't like flash very much.

What exactly are you trying to embed it in and are you doing it thru the source view?

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by jaz » Mon Jan 23, 2012 5:57 am

Hey labelshops,

I'm attempting to embed my swf in one of the information pages.
Yeah, Im using the source code viewer to paste the code in.
It shows up the flash object in the browser (and the source viewer), but it doesnt run.
I just get a blank white box instead.
Im sure my paths etc are all correct.

I've also tried to upload a swf file to the cache area where all the other images are uploaded to using the 'upload image' function. However, it just returns an error saying 'incorrect file type' when i try it though.
As a result Im uploading the file to the appropriate directory using Filezilla and then referencing it in the embed code.

I realise Flash is a dying breed and not popular amongst those who prefer a more accessible site.
However, it's something I'd really like to add to mine at the moment.
Proving to be a surprising stumbling block. :(

Cheers,

Jaz

jaz
Newbie

Posts

Joined
Fri Oct 21, 2011 7:16 am

Post by labeshops » Mon Jan 23, 2012 10:38 pm

If you want to pm the path to your flash file, I can play with it a bit. I don't have anything flash to test but used to use flash games on a site back in the day lol

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by kotysoft » Mon Jun 11, 2012 3:06 am

I made this:

admin/view/javascript/ckeditor/config.js
Modify, or if not available, insert this line:

Code: Select all

	config.entities = true;

--------------------------------------

catalog/view/theme/ ACTIVE THEME FOLDER /template/information/information.tpl
find this line:

Code: Select all

  <?php echo $description; ?>
and modify to:

Code: Select all

  <?php echo html_entity_decode($description, ENT_QUOTES, 'UTF-8'); ?>
------------------------------------

Flashes, scripts working for me in OC 1.5.2.1
(hopefully AdSense codes, too; but ATM My AdSense account still not approved, so i don't know yet)

USE HTML CODES IN INFORMATION PAGE WITH YOUR OWN RISK

New member

Posts

Joined
Sat Feb 06, 2010 10:01 pm

Post by Jacolene » Thu Nov 28, 2013 8:10 pm

Has ANYONE managed to embed a Flash file into their site?

Newbie

Posts

Joined
Thu Nov 28, 2013 7:18 pm

Post by martinyazigi » Sun Dec 01, 2013 2:55 am

this editor supports flash:
http://www.opencart.com/index.php?route ... _license=0
1336830607.Screen Shot 2012-05-12 at 15.46.50-500x500.jpg

1336830607.Screen Shot 2012-05-12 at 15.46.50-500x500.jpg (18.43 KiB) Viewed 4865 times

best

Newbie

Posts

Joined
Wed Oct 19, 2011 5:17 am

Post by butte » Sun Dec 01, 2013 7:02 am

Jacolene, take a look at these, bearing in mind that since as usual IE has its own way of doing flash, you would need to double-code for sane browsers and then for IE.

Flash OBJECT and EMBED tag attributes:
http://helpx.adobe.com/flash/kb/flash-o ... butes.html

swf content:
http://help.adobe.com/en_US/as3/dev/WS4 ... B2467.html
metadata:
http://www.adobe.com/devnet/flash/artic ... adata.html
flex:
http://help.adobe.com/en_US/flex/using/ ... -7ffb.html
air:
http://help.adobe.com/en_US/AIR/1.5/dev ... B2467.html

at least 10 pages of "embedding flash" at adobe itself:
http://www.adobe.com/cfusion/search/ind ... ction=home

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Jacolene » Mon Dec 02, 2013 11:48 pm

Hi

I have Opencart 1.5.6

Does anybody maybe have step by step instructions for me?

Newbie

Posts

Joined
Thu Nov 28, 2013 7:18 pm

Post by butte » Tue Dec 03, 2013 12:17 am

(1) This one gives the code blocks: http://helpx.adobe.com/flash/kb/flash-o ... butes.html -- you need that for the pro forma lingo.

You can see how that works by finding ANY website with flash on its landing page, and viewing the source in your browser. "Find" the embed tag. It will sit inside a self-evident block of code. That will normally be between an opening <div> and closing </div>.

Between the adobe link and the example website you can see how to put it together.

(2) Decide exactly where you want it to appear. Then put the code block in that position in your header.tpl or other appropriate file.

EASIEST will be to use your admin Extensions / Modules / Welcome (Install and Enable that one). Insert one, set it to go Home and Top. In the box toggle into Source mode (top left just above the box). Insert your code and Save your code WHILE you are in Source mode. (The wysiwyg mode has a mind of its own and is out of its mind.) From there you can review your progress.

(3) You will need to substitute the location and name of your own .swf file. You will be best off having it on your own server. You can put it into its own /flash/ directory, so that it does not add to the complexity of /image/. You will see variables to decide. The defaults will work.

(4) You will have blocks of code for normal browsers and for IE. Those are in the link and will be seen in your example website.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am
Who is online

Users browsing this forum: No registered users and 5 guests