Add a div to replace Video after Video Plays Through

前端 未结 1 2020

How can I code a video; that will play through; and after it runs to the end. The video is then replaced with a div (Specifically within that #div an animated g

1条回答
  •  爱一瞬间的悲伤
    2021-01-22 01:12

    so, if I understand correctly, you are looking to have a video play then the video disappear and be replaced with a div containing some arbitrary content.

    in regular HTML/JS/CSS something like this does what you're asking for. Should be fairly easy to convert to jQuery (rather than the window.location you're setting in the question simply set the style on the video to display:none and the div you want to show to display:block)

     
     
    
    
     
    

    0 讨论(0)
提交回复
热议问题