Really need help embedding video, code included please?

4 replies
  • WEB DESIGN
  • |
Hey everyone.

I have a code i need to swap.
Specifically it is for a template that is to autoplay a video on a squeeze page.
The original code looks like this

Code:
<!-- insert your Video code here (set size to...  width="720" height="440"-->
<embed src="http://www.gdd.ro/gdd/flvplayer/gddflvplayer.swf" 
flashvars="?&autoplay=true&sound=70&buffer=2&vdo=http://www.gdd.ro/flvplayer/examples/AvatarHD.mp4" 
width="720" 
height="440" 
allowFullScreen="true" 
quality="best" 
wmode="transparent" 
allowScriptAccess="always"  p
luginspage="http://www.macromedia.com/go/getflashplayer"  
type="application/x-shockwave-flash">
</embed>
<!-- your Video code END here... -->
I am however trying to embed a YOUTUBE video here. But i do not need it on youtube, i would upload it anywhere, but i have no idea what is easier.

I would PREFER youtube because of the compatability with mobile.

Can anyone help?
I understand getting embed code from youtube, and also the OLD embed code, which I cannot really get to work no matter what.

Thanks!
#code #embedding #included #video
  • Profile picture of the author GeneralLedger
    Can you post a link to a page where you have embedded the Youtube code and it is not working? It's gonna be difficult to help otherwise.
    {{ DiscussionBoard.errors[9470781].message }}
  • Profile picture of the author win58
    Hi,
    There's nothing wrong with your code above except its for a flash video

    simple youtube code below.
    Insert your YT video ID
    change autoplay to 1 for immediate start and controls to 1 to see controls
    Adjust other settings to your liking..

    <iframe src="http://www.youtube.com/embed/ML09YO6KBqs?autohide=3&amp;autoplay=0&amp;controls =0&amp;enablejsapi=0&amp;iv_load_policy=1&amp;mode stbranding=1&amp;rel=0&amp;showinfo=0&amp;start=0& amp;theme=dark" width="640" height="360" frameborder="0" allowfullscreen="" webkitallowfullscreen="" mozallowfullscreen=""></iframe>
    {{ DiscussionBoard.errors[9479234].message }}
  • Profile picture of the author MaryWink
    I am a little confused by your question, but it looks like to me what you need to do is delete everything between these two lines:

    <!-- insert your Video code here (set size to... width="720" height="440"-->

    <!-- your Video code END here... -->

    The grab your YouTube code from the YouTube video and paste it in between those two lines. You should then be ready to go.

    Cheers,

    Mary
    {{ DiscussionBoard.errors[9482949].message }}
  • Profile picture of the author Nuke07
    Originally Posted by stevenjcampbell View Post

    Hey everyone.

    I have a code i need to swap.
    Specifically it is for a template that is to autoplay a video on a squeeze page.
    The original code looks like this

    Code:
    <!-- insert your Video code here (set size to...  width="720" height="440"-->
    <embed src="http://www.gdd.ro/gdd/flvplayer/gddflvplayer.swf" 
    flashvars="?&autoplay=true&sound=70&buffer=2&vdo=http://www.gdd.ro/flvplayer/examples/AvatarHD.mp4" 
    width="720" 
    height="440" 
    allowFullScreen="true" 
    quality="best" 
    wmode="transparent" 
    allowScriptAccess="always"  p
    luginspage="http://www.macromedia.com/go/getflashplayer"  
    type="application/x-shockwave-flash">
    </embed>
    <!-- your Video code END here... -->
    I am however trying to embed a YOUTUBE video here. But i do not need it on youtube, i would upload it anywhere, but i have no idea what is easier.

    I would PREFER youtube because of the compatability with mobile.

    Can anyone help?
    I understand getting embed code from youtube, and also the OLD embed code, which I cannot really get to work no matter what.

    Thanks!
    If you Google up, then you can have one more alternative i.e Youtube API's.

    Using API's you can easily call a youtube video easily on any page, with full of video presentation controls.

    if you need more help with it, you can PM me !!

    Best of Luck
    {{ DiscussionBoard.errors[9483080].message }}

Trending Topics