Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    12
    Vote Rating
    0
    handemmet is on a distinguished road

      0  

    Default Video

    Video


    Hi

    When I place a video on my canvas......it will not play. It shows up in my library but still does not play when I export it. I have an mp4 and webm in there but still nothing.

    Any ideas??

    Regards
    E

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    12
    Vote Rating
    0
    handemmet is on a distinguished road

      0  

    Default


    I got it working.....there was a problem with the video itself!!!
    I have another quick question.....I have a scene with some animated text and video. The video is longer than the scene itself so when I have the command to restart the scene when it comes to the end......the video is still playing (it doesn't restart from the begining).

    Does anybody have a fix for this??

  3. #3
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    You'll have to use a custom JS action at the start of the scene, to make sure the video is restarted.

    Here is a starting point, make sure to set the ID of the video object to "my-video-id" (or change the id in the code to correspond with your video id).

    This should restart the video on scene starts if needed, and will also do auto-play.

    Code:
    var videoContainer = controller.getElementById('my-video-id');
    var videoElement = videoContainer.querySelector('video');
    if (videoElement.currentTime) {
        videoElement.currentTime = 0.0;
    }
    videoElement.play();

Thread Participants: 1