Can I have a video with transparent background using HTML5 video tag?

后端 未结 9 2401
南方客
南方客 2020-11-30 23:21

We filmed a spokesperson on a green screen and have the video files ready in multiple formats.

With Flash we could use the wmode transparent within the param and em

9条回答
  •  Happy的楠姐
    2020-12-01 00:03

    Yes, this sort of thing is possible without Flash:

    • http://hacks.mozilla.org/2009/06/tristan-washing-machine/
    • http://jakearchibald.com/scratch/alphavid/

    However, only very modern browsers supports HTML5 videos, and this should be your consideration when deploying in HTML 5, and you should provide a fallback (probably Flash or just omit the transparency).

提交回复
热议问题