framework7

Open full view…

Photo browser with videos

lokomass
Mon, 09 Oct 2017 11:59:00 GMT

Hi, Since I've updated on ios11, my video browser doesn't work anymore (it was working good before on ios 10) My videos don't play. Here is my code : --- $('.item-video').live('click', function() { var array = [ { html: '<video src="video.mp4"></video>' } ]; var myPhotoBrowser = myApp.photoBrowser({ loop: false, type: 'popup', ofText: 'sur', initialSlide: 0, navbar: false, toolbar: false, lazyLoading: true, lazyLoadingInPrevNext: true, lazyLoadingOnTransitionStart: true, photos: array }); myPhotoBrowser.open(); }); --- I've tried too --- html: '<video type="video/mp4" src="video.mp4" controls></video>' --- But when I click on play button, the video doesn't play.. Can you help me please ?

lokomass
Mon, 23 Oct 2017 08:36:01 GMT

Help please :)

lokomass
Thu, 09 Nov 2017 09:07:14 GMT

Nobody has same problem ? Playing video

Dvorah
Mon, 13 Nov 2017 11:30:55 GMT

https://webkit.org/blog/6784/new-video-policies-for-ios/ https://twitter.com/HTeuMeuLeu/status/879636487092011008 Which version of ios11 do you use?

lokomass
Mon, 13 Nov 2017 11:32:45 GMT

Hi, last version 11.1.1

Dvorah
Mon, 13 Nov 2017 11:33:11 GMT

Did you try this : --- <video loop autoplay controls="true" width='100%' height='100%' src='my_video.mp4' type='video/mp4'></video> ---

lokomass
Mon, 13 Nov 2017 13:12:43 GMT

I've tried, it's very very long and I have to play manually video... But it's nicer :)