How do I make a DIV visible on top of an HTML5 fullscreen video?

前端 未结 3 930
终归单人心
终归单人心 2021-02-09 00:02

My ultimate goal right now is to have a link appear on top of video when the video has reached the end. Using the JW Players functionality I have determined how to have the link

3条回答
  •  执笔经年
    2021-02-09 00:42

    It's a simple trick, you need to add the maximum value of z-index which is (z-index: 2147483647;) in to the overlay element. That trick will solve your issue.

    z-index: 2147483647;
    

    Here is your updated fiddle: http://jsfiddle.net/TcpX5/36/

提交回复
热议问题