2 Replies Latest reply on Dec 30, 2017 7:03 PM by mauroa42592559

    function ended on video canvas

    mauroa42592559

      What's wrong with my code?

       

      var videoURL = "https://images-tv.adobe.com/avp/vr/15a99ccf-0e7c-4601-b270-87dd82624086/5078a43c-81f9-4a93-836c-815278b83a8e/e9cf12a0-7c4b-414f-a5c9-97ef49340aa9_20160203035417.960x540at1200_h264.mp4";
      
      
      this.video.on("added", function() {
          $("#video")[0].src = videoURL;
      
      }, this, true);
      
      
      
      
      this.video.on('ended', function() {
        console.log("ended");
      });
      
      
      
      
      
      
      
      
      
      

       

      The ended doesn't work