In the past I have loaded videos to my youtube account and pasted the share code into a HTML Markup item in my Freeway page and all has been well.
HAS SOMETHING CHANGED?
This no longer seems to work and I can’t get youtube videos to play in my new websites.
Hi Guys. I had been testing this site locally (as I always had in the past) both using Preview and Browser but no video was showing. However when I loaded the page to my website the video appeared.
To expand my question;
is Youtube the best way to show a video on a website? Obviously it is not always desirable to have video controls visible.
What is the best format? e.g. .mov, .m4v
To expand my question;
is Youtube the best way to show a video on a website?
There are severals. I personally prefer (a paid) Vimeo account, but YouTube is fine as well. Everything but no self-hosting.
Obviously it is not always desirable to have video controls visible.
… cause you assume clients are dump?
No controls for me personally is visiting a page 0.4 seconds (the time it takes me to hot CMD-Q). I’m old enough to decide what, when and how to watch things.
What is the best format? e.g. .mov, .m4v
If you do the self-hosting-masochism way, make sure that your hosting-service is able to serve the required MIME-types.
Serve those three formats:
MP4 = MPEG 4 files with H264 video codec and AAC audio codec
WebM = WebM files with VP8 video codec and Vorbis audio codec
Ogg = Ogg files with Theora video codec and Vorbis audio codec
This should ensure playing videos nice (as cross-browser compatible as possible).