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 ?