amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Video: good fallback for format not supported

Open dvoytenko opened this issue 11 years ago • 5 comments

I seem to regularly (though rarely) run into a case where video is defined with a format that's not supported on my phones. Usually the behavior of the video player seems insufficient to me where it just shows up blank. I'm wondering if we can improve on this.

dvoytenko avatar Oct 13 '15 18:10 dvoytenko

This is a long-standing problem with both video and audio tags, as the spec doesn't show fallback content when the file is misparsed or missing. If you want to apply youtube's transcoding backend to the caching part of AMP, that could be interesting.

kevinmarks avatar Oct 13 '15 20:10 kevinmarks

Unfortunately it looks like video/audio elements themselves provide very few signals in APIs to indicate that playback is impossible. If anyone has a hint - please let me know. It's easy enough to check source tags, but when only src is specified things get a bit harder.

dvoytenko avatar Oct 13 '15 21:10 dvoytenko

amp-video supporting the codecs parameter in <source> would go a long way to alleviate this.

patternseek avatar Mar 30 '16 15:03 patternseek

@patternseek This issue is specifically for when video only has src attribute.

dvoytenko avatar Mar 31 '16 00:03 dvoytenko

Hey,

The AMP community has been working nonstop to make AMP better, but somehow we've still managed to grow an enormous backlog of open issues. This has made it difficult for the community to prioritize what we should work on next.

A new process is on the way and to give it a chance for success we will be closing issues that have not been updated in awhile.

If this issue still requires further attention, simply reopen it. Please try to reproduce it with the latest version to ensure it gets proper attention!

We really appreciate the contribution! Thank you for bearing with us as we drag ourselves out of the issue abyss. :)

adelinamart avatar Feb 07 '17 20:02 adelinamart