lazyjinchuriki / cinephile

Movies and Shows finder site with HTML, CSS, Vanilla JS
https://lazyjinchuriki.github.io/cinephile/
22 stars 37 forks source link

The movie trailer continues to play even after clicking the closing button (x) #1

Closed GeovannaBorges closed 1 year ago

GeovannaBorges commented 1 year ago

Hello! I really loved the idea of your project, and its execution with vanilla JS is awesome! But I found a small issue: Once I play the trailer, and then try to close it, by clicking the x button, the sound of the video keeps playing, and just stops when the video is over or when I play another trailer on. github project cinephile - issue

As you can see in the picture, there's no video playing, but the icon I highlighted above continues to appear, even though the trailer has been closed.

lazyjinchuriki commented 1 year ago

Hi there, Best of luck 👍🏻 Create a pull request, I'll merge it.