Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Error: Uncaught (in promise) DOMException on vegas.min.js:10 #188

Open
budihaa opened this issue Apr 29, 2019 · 0 comments
Open

Video Error: Uncaught (in promise) DOMException on vegas.min.js:10 #188

budihaa opened this issue Apr 29, 2019 · 0 comments

Comments

@budihaa
Copy link

budihaa commented Apr 29, 2019

Sometimes video wont start to play, but sometimes its all right. When i open the console this happen:
Uncaught (in promise) DOMException _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 load (async) _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 load (async) _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 load (async) _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10 load (async) _goto @ vegas.min.js:10 next @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) _slideShow @ vegas.min.js:10 (anonymous) @ vegas.min.js:10 setTimeout (async) w @ vegas.min.js:10

This is my code:
$( function() { $('body').vegas({ transition: ['slideRight', 'slideLeft', 'slideUp', 'slideDown', 'zoomIn', 'zoomOut', 'swirlLeft', 'swirlRight'], timer: true, loop: false, slides: [{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654020_298481139.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654073_1713319570.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":30000,"video":{"src":"http://localhost/lion_bouquet/public/videos/video_1553832071_1696403568.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654122_1284377839.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654156_279890506.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":30000,"video":{"src":"http://localhost/lion_bouquet/public/videos/video_1553831962_1670985084.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654660_2039086959.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654685_1939920630.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":10000,"video":{"src":"http://localhost/lion_bouquet/public/videos/video_1553770450_571042691.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654710_110548295.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654741_1196226441.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":5000,"video":{"src":"http://localhost/lion_bouquet/public/videos/video_1553747965_14642303.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654759_269460887.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553654887_1080641584.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":30000,"video":{"src":"http://localhost/lion_bouquet/public/videos/samplevideo_1920x1080.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553655002_74881893.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553655027_807877775.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":20000,"video":{"src":"http://localhost/lion_bouquet/public/videos/samplevideo_1280x720.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553655039_1899409964.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553660257_133198603.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":30000,"video":{"src":"http://localhost/lion_bouquet/public/videos/video_1553832071_1696403568.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553660346_1760100406.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553661510_1558088591.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":30000,"video":{"src":"http://localhost/lion_bouquet/public/videos/video_1553831962_1670985084.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553668494_1270231587.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553749728_1197880964.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":10000,"video":{"src":"http://localhost/lion_bouquet/public/videos/video_1553770450_571042691.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553756729_642019083.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1553757353_1007022978.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/rip/rip_1549876254_589666486.png","delay":5000,"video":{"src":"http://localhost/lion_bouquet/public/videos/video_1553747965_14642303.mp4","loop":false,"mute":false}},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1554093647_1044455570.jpg","delay":1000},{"src":"http://localhost/lion_bouquet/public/ucapan/ucapan_1554104728_190474157.jpg","delay":1000}], end: function() { location.reload(); }, walk: function (index, slideSettings) { if (slideSettings.video) { console.log('exist') } else { console.log('not exist'); } } }); } );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant