Skip to main content
Participant
January 1, 2011
Answered

Adding playback controls to .swf embedded in HTML

  • January 1, 2011
  • 1 reply
  • 20120 views

Hi there,

I'm completely new to HTML, Flash, etc., so I could definitely use some help.

I took a .flv and placed it in a .swf in Flash Professional CS5 (for smoother playback on my website), and I used Dreamweaver to embed the .swf on one of my webpages.  The video plays back fine, but there are no playback controls.  In Dreamweaver, I set "PLAY" and "LOOP" to false, so in order to play my video, I have to right-click it and press "Play."  That seems odd and possibly confusing/inconvenient for anyone viewing my website (particular potential employers, because this is my online portfolio).  Does anyone have any suggestions on how to add playback controls?  I don't want to use any external players (like Flowplayer), as I am trying hard to avoid watermarks and having to pay for anything extra.

Interesting note: when I used Dreamweaver to insert the .flv, I had the option to select from a list of playback controls.  However, the .flv did not play smoothly on my website, and I found the solution to place the .flv in an .swf for nicer playback.  Unless I find a good solution, I either have to sacrifice awesome video quality or playback controls.

Thank you very much,

Chris

    This topic has been closed for replies.
    Correct answer Ned Murphy

    In Flash, try using the FLVPlayback component.  It has controls/skins that you can select.  And I recommend not using DW to embed Flash content.  Let Flash publish an html page via setting it up to do so in the Publish Settings and then copy and paste the embedding code from that page into your DW html page.

    1 reply

    Ned Murphy
    Ned MurphyCorrect answer
    Legend
    January 1, 2011

    In Flash, try using the FLVPlayback component.  It has controls/skins that you can select.  And I recommend not using DW to embed Flash content.  Let Flash publish an html page via setting it up to do so in the Publish Settings and then copy and paste the embedding code from that page into your DW html page.

    CDaley_JWAuthor
    Participant
    January 2, 2011

    Excellent, Mr. Murphy!  It worked perfectly, and now I'm one big step closer to being done.  Thank you very much!

    http://users.wpi.edu/~cdaley_jw/animation.html

    Thanks,

    Chris

    Ned Murphy
    Legend
    January 2, 2011

    You're welcome Chris (Mr. Murphy is my father's name)