2 Replies - 1061 Views - Last Post: 27 February 2014 - 11:29 AM

#1 sukhbansil  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 23-February 14

help embedding a youtube video in HTML5

Posted 27 February 2014 - 10:19 AM

Hi all,

I'm trying to embed a youtube video into HTML5 in Dreamweaver CS6. I've used the following code below, but the webpage keeps appearing blank in all web browsers. I am missing something?

 
<iframe class="youtube-player" type="text/html" 
width="480" height="360" src="//www.youtube.com/embed/xjC8am3qxvg" 
frameborder="0" allowfullscreen></iframe>



Many Thanks in advance :smile2:/>

Cheers,

Sukh

Is This A Good Question/Topic? 0
  • +

Replies To: help embedding a youtube video in HTML5

#2 andrewsw  Icon User is online

  • It's just been revoked!
  • member icon

Reputation: 3834
  • View blog
  • Posts: 13,583
  • Joined: 12-December 12

Re: help embedding a youtube video in HTML5

Posted 27 February 2014 - 10:44 AM

It worked for me (locally) if I added the full protocol "http://www.etc".

This post has been edited by andrewsw: 27 February 2014 - 10:47 AM

Was This Post Helpful? 1
  • +
  • -

#3 sukhbansil  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 23-February 14

Re: help embedding a youtube video in HTML5

Posted 27 February 2014 - 11:29 AM

Thanks andrewsw that worked perfect for me. Your a superstar my man :bananaman:/>
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1