Embedding Video Into HTML pages

by BytheC
5 replies
I have just spent hours trying to get a video file to "play" in a new webpage.

This is a process I have done a few times before and managed to get things working then. I have NO clue as to why this time it will not work.

The video files were produced using Camtasia, and have been uploaded to my s3.amazonaws.com account. After Camtasia produced the video, it played it, so I do know that part works.

I copied and pasted the code I had used on one of the previous pages that are working, and then modified that code to reflect the name of the file being worked with today.

When this page was uploaded, the video presentation box appears, but I cannot get the video to play. The video was created to play automatically, and there are no play buttons involved.

For privacy reasons, I have changed the code inserting "bucket" and "myfilename" in this example.

Oh-Oh... just got a message advising cannot put a "link" in this email, so will have to revise the "value" to ************ It is a "swf" file.

The code that is at issue here is:
<object
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" id="csSWF"
height="355" width="450"><param name="movie"
value="************************* /><param
name="quality" value="best" /><param name="bgcolor" value="#1a1a1a" /><param
name="allowfullscreen" value="true" /><param name="scale"
value="showall" /><param name="allowscriptaccess" value="always" /><param
name="flashvars"
value="autostart=true&amp;showendscreen=false&amp; color=0x1A1A1A,0x1A1A1A" /><!--[if !IE]>--><object
type="application/x-shockwave-flash"
data="************************* "
height="355" width="450"><param name="quality" value="best" /><param
name="bgcolor" value="#1a1a1a" /><param name="allowfullscreen"
value="true" /><param name="scale" value="showall" /><param
name="allowscriptaccess" value="always" /><param name="flashvars"
value="autostart=true&amp;showendscreen=false&amp; color=0x1A1A1A,0x1A1A1A" /><!--<![endif]-->
<div id="noUpdate">
<p>The Camtasia Studio
video content presented here requires a more recent version of the
Adobe Flash Player. If you are you using a browser with JavaScript
disabled please enable it now. Otherwise, please update your version of
the free Flash Player by <a
href="***********************">downloading
here</a>. </p>
</div>
<!--[if !IE]>--></object>
<!--<![endif]--></object><

Does anyone have any suggestions they could offer as to why this code is not producing the desired end result?

Would appreciate any insights.

Thanks,
ByTheC
#embedding #html #pages #video
  • Profile picture of the author Karen Blundell
    you have an extra "<" at the end of the code here:
    Code:
    <!--<![endif]--></object><
    the rest of the code looks fine to me.
    Signature
    ---------------
    {{ DiscussionBoard.errors[955942].message }}
  • Profile picture of the author redlake2
    Try not to mess with the code too much. Basically you use the "embed" code that comes with the video.

    When you upload the video there is a text box that gives you the embed code.

    Copy and paste the code without changing it and it will work.

    Good luck
    {{ DiscussionBoard.errors[956641].message }}
  • Profile picture of the author BytheC
    Thank you for your replies.
    Karen... I did remove the extra character. (No luck on that one)
    Redlake2... I did not see a file with embed code and will go look for it now.

    All the best,
    ByTheC
    {{ DiscussionBoard.errors[958170].message }}
  • Profile picture of the author kishorem
    you can just the free JW Player at LongTail Video | Home of the JW Player
    Signature

    Best Regards,
    Kishore M

    Brand New 2015 Product Launch on Clickbank
    ~ Reciprocation Mailing is Guaranteed ~
    http://www.extremefxprofit.com/jv

    {{ DiscussionBoard.errors[974041].message }}
  • Profile picture of the author gra6358
    I have a different problem.

    My video plays at Firebox but not in IE (just a white box, no player nor button to play). But I can play youtube videos fine in IE8. Any insights?
    {{ DiscussionBoard.errors[975886].message }}

Trending Topics