7 Replies Latest reply on Feb 12, 2014 2:55 AM by hemanthR

    can mask video with png?

    paoloiammarino

      hi, i'm new but love 2 much edge. wanna create an animation and need to embed video file.

      find this that works fine on stage/creation complete:

       

      var vid = sym.$("box")

      vid.html('<video width="340" height="250" src="intro.mp4" type="video/mp4" autoplay = "autoplay" > </video>')

       

      where "box" is my rectangular mp4 holder.

       

      how can I mask video with a irregular shape like png file? can use it like holder or can mask in some way?

       

      tnx in advance!!!!

       

       

      paolo

       

       

      ps: sincerely, search something but don't find nothing 4 edge, only 4 html5. there's a way to apply it in edge?