Skip to main content
Participating Frequently
March 5, 2018
Answered

Dreamweaver SWF does not play in browser but playing in Live View.

  • March 5, 2018
  • 5 replies
  • 1949 views

Dreamweaver SWF does not play in browser but playing in Live View. Please help.

    This topic has been closed for replies.
    Correct answer hans-g.

    Hi Nancy,

    you know I like to try out your hints (Thanks for this!). In my DW the video only works with this code:

    <video poster="POSTER_IMAGE.jpg" controls>

    <source src="YOUR_VIDEO.mp4" type="video/mp4">

    </video>

    Hans-Günter

    5 replies

    Nancy OShea
    Community Expert
    Community Expert
    March 5, 2018

    Very few people have browsers/devices that support Flash/Shockwave anymore.   To reach the widest possible target audience, you should convert your Flash media to MP4 video.  No plugins or extra media players required.  Simply go to  Insert > HTML > HTML5 Video.

    Your code should resemble this:

    <video poster="POSTER_IMAGE.jpg" controls>

    <source src="YOUR_VIDEO.mp4" type="video/mp4">

    </video>

    Nancy O'Shea— Product User & Community Expert
    hans-g.
    hans-g.Correct answer
    Legend
    March 5, 2018

    Hi Nancy,

    you know I like to try out your hints (Thanks for this!). In my DW the video only works with this code:

    <video poster="POSTER_IMAGE.jpg" controls>

    <source src="YOUR_VIDEO.mp4" type="video/mp4">

    </video>

    Hans-Günter

    pziecina
    Legend
    March 5, 2018

    A couple of things to remember when using Animates html5 canvas -

    Export and test any interactive content often, as not all of Animates interactive functions are cross browser. Testing in multiple browsers is a must.

    If you are using a Mac, then you will require a vm running to test in IE and Edge.

    Don't just watch your created file size, remember to include the file sizes of the supporting files. It is very easy for an Animate created content to become multiple Mb's that the user must download, and mobile device users may be on limited bandwidth speeds, and/or usage caps, so they will not thank you if the total size of files required is excessive.

    pziecina
    Legend
    March 5, 2018

    Unless you are never going to update your browser, flash is dead, as browsers are blocking the use of flash player.

    The schedule is as follows -

    This year, the fash player must be enabled in the browser setting, on a site by site basis.

    Next year, the flash player must be enabled in the browser settings, on EVERY visit.

    Year after, the flash player WILL be blocked by browsers completely. That means NO browser will play any flash content.

    Mobile devices have had the no use of flash since 2014, (iOS since the very first device) and now it will not work in ant browser/device from the end of 2020. You could offer your flash content as a AIR package, or as a download for the user to play in the stand-alone flash player, but unless the flash content is something so important to your user, do not expect the user to bother.

    hans-g.
    Legend
    March 5, 2018

    ... on the other hand I remember an answer of Nancy O. (I quote):

    "Why are you still using SWF?  Flash is a dead web technology because the major mobile & tablet devices cannot support it.  As a replacement for Flash, look at jQuery or Adobe Edge Animate."

    veyabilcAuthor
    Participating Frequently
    March 5, 2018

    Hans G, if i will use Adobe Animate, what format will i export the file when exporting?

    hans-g.
    Legend
    March 5, 2018

    Hello,

    did you work in the way, Adobe has prepared for this in How to insert SWF files in Dreamweaver

    and there esp.:

    cons. nr. 3. Save the file. >>> Dreamweaver informs you that two dependent files, expressInstall.swf and swfobject_modified.js, are being saved to a Scripts folder in your site. Don’t forget to upload these files when you upload the SWF file to your web server. Browsers can’t display the SWF file properly unless you have also uploaded these dependent files.

    Hans-Günter

    veyabilcAuthor
    Participating Frequently
    March 5, 2018

    Hi. I embedded the SWF in the correct way and it's playing when you view it in Live View.

    pziecina
    Legend
    March 5, 2018

    veyabilc  wrote

    Hi. I embedded the SWF in the correct way and it's playing when you view it in Live View.

    Depending on your version of Dw, it may play in live view, but the browser may be blocking your flash content from playing.