Hybrid View

  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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi