With links like http://youtu.be/1wAlbzKoYbs
I am getting this error:
Refused to display 'http://www.youtube.com/watch?v=1wAlbzKoYbs&feature=youtu.be'
in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Is there a way to fix that?
Links like http://www.youtube.com/watch?v=1wAlbzKoYbs
works.
This is easier than I thought:)
iframe: {
patterns: {
youtube_short: {
index: 'youtu.be/',
id: 'youtu.be/',
src: '//www.youtube.com/embed/%id%?autoplay=1'
}
}
}