html - YouTube iframe, browser looks for file locally -


i have problem building html pages on local machine , trying embed youtube video page using provided code:

<iframe width="560" height="315" src="//www.youtube.com/embed/objwlxlrowc" frameborder="0" allowfullscreen></iframe> 

however when test page locally file not found c:\desktop\testsite\http://www.youtube.com...., etc

anyone know why happening, don't believe have encountered before.

browsers used latest ff , latest chrome, both show file not found. have checked code , nothing seems wrong, can show local content (same directory) in iframe no problem. tested other external sites/resources , same issue.

thanks

add http: start of src:

<iframe width="560" height="315" src="http://www.youtube.com/embed/objwlxlrowc" frameborder="0" allowfullscreen></iframe> 

Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -