Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adding playback controls to .swf embedded in HTML

New Here ,
Jan 01, 2011 Jan 01, 2011

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

19.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jan 01, 2011 Jan 01, 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.

Translate
LEGEND ,
Jan 01, 2011 Jan 01, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 01, 2011 Jan 01, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 01, 2011 Jan 01, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 04, 2011 Jan 04, 2011

Thank you, Ned Murphy, sir.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 20, 2011 Feb 20, 2011

Sir,

Please help I am using the folowing code to display swf file in html but it is not showing play back controlls, it is very much needed for my requirement

I have converted a test.wmv file to test.swf, the video is playing properly but the play back controls are not displayed.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="320" height="270"

   id="test.swf" align="middle">

  <param name="movie" value="test.swf" />

<param name="quality" value="best" />

<param name="bgcolor" value="#ffffff" />

<param name="play" value="false" />

<param name="loop" value="false" />

<param name="wmode" value="window" />

<param name="scale" value="showall" />

<param name="menu" value="true" />

<param name="devicefont" value="false" />

<param name="salign" value="" />

<param name="allowScriptAccess" value="sameDomain" />

<!--[if !IE]>-->

<object type="application/x-shockwave-flash" data="test.swf" width="901" height="702">

<param name="movie" value="test.swf" />

<param name="quality" value="best" />

<param name="bgcolor" value="#ffffff" />

<param name="play" value="false" />

<param name="loop" value="false" />

<param name="wmode" value="window" />

<param name="scale" value="showall" />

<param name="menu" value="true" />

<param name="devicefont" value="false" />

<param name="salign" value="" />

<param name="allowScriptAccess" value="sameDomain" />

<!--<![endif]-->

<!--[if !IE]>-->

</object>

<!--<![endif]-->

</object>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 22, 2011 Feb 22, 2011

Hi Pavankumar,

If I'm correct, playback controls are not found in the HTML; rather, they are created as part of the .swf file.  Which program did you use to convert your file to a .swf?  If you're using Flash Professional, you can add a FLVPlayback component and set the source of the component as your video.

I hope this helps!  Good luck!

Thanks,

Chris

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 24, 2011 Feb 24, 2011
LATEST

Hi sir thanks for your reply, I have used Kingdia converter to convert wmv fiile to swf file, Im very new to flash, so I could not understand this FLVPlayback control and all, can you please give me some links so that I can learn how to acomplish the task, Is that really required to download and install Adobe flash professional? Is there no other way to do this? because its a big software around 900 mb.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines