{"version":3,"file":"2.modules/media.798cfbabd36465fd2d20.js","mappings":"gQAIqBA,G,gBAAe,WAChC,SAAAA,KAAcC,EAAAA,EAAAA,GAAA,KAAAD,GACVE,KAAKC,OAAS,GACdD,KAAKE,MACT,CAUC,OAVAC,EAAAA,EAAAA,GAAAL,EAAA,EAAAM,IAAA,OAAAC,MAED,WAAO,IAAAC,EAAA,KACHC,SAASC,iBAAiB,sBAAsBC,SAAQ,SAAAC,GACpD,IAAIC,EAAQ,IAAIC,EAAAA,QAAQF,EAAO,CAC3BG,yBAAyB,EACzBC,OAAO,IAEXR,EAAKL,OAAOc,KAAKJ,EACrB,GACJ,KAACb,CAAA,CAd+B,G","sources":["webpack://@humandigital-agency/flevoziekenhuis-frontend/./src/scripts/controllers/media.js"],"sourcesContent":["import videojs from 'video.js';\r\nimport 'videojs-youtube';\r\nimport 'videojs-vimeo-tech/src/Vimeo';\r\n\r\nexport default class MediaController {\r\n constructor() {\r\n this.medias = [];\r\n this.init();\r\n }\r\n\r\n init() {\r\n document.querySelectorAll(`video.videoElement`).forEach(video => {\r\n let media = new videojs(video, {\r\n disablePictureInPicture: true,\r\n fluid: true,\r\n });\r\n this.medias.push(media);\r\n });\r\n }\r\n}"],"names":["MediaController","_classCallCheck","this","medias","init","_createClass","key","value","_this","document","querySelectorAll","forEach","video","media","videojs","disablePictureInPicture","fluid","push"],"sourceRoot":""}