File tree 2 files changed +5
-2
lines changed
src/components/_common/qbrick-video
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,10 @@ export const QbrickVideo = (props: QbrickVideoProps) => {
42
42
: getMediaUrl ( poster , ! ! editorView , contentLanguage ) ;
43
43
44
44
return (
45
- < div className = { style . wrapper } data-qplayer-analytics = "off" >
45
+ < div className = { style . wrapper } >
46
46
< Script
47
- src = { 'https://play2.qbrick.com/qplayer-beta/loader/qplayer-loader.js' }
47
+ // src={'https://play2.qbrick.com/qplayer-beta/loader/qplayer-loader.js'}
48
+ src = { 'https://play2.qbrick.com/qbrick-player/framework/GoBrain.min.js' }
48
49
async = { true }
49
50
onError = { ( error ) => {
50
51
logger . error ( `Failed to load QBrick player script - ${ error } ` ) ;
@@ -100,6 +101,7 @@ export const QbrickVideo = (props: QbrickVideoProps) => {
100
101
className = { classNames ( style . macroVideo , playerState !== 'ready' && style . hidden ) }
101
102
id = { videoContainerId }
102
103
title = { title }
104
+ data-qplayer-analytics = "off"
103
105
/>
104
106
</ div >
105
107
) ;
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ const createAndStart = (
98
98
language,
99
99
autoplay : true ,
100
100
widgetId,
101
+ [ `data-qplayer-analytics` ] : 'off' ,
101
102
} )
102
103
. on ( 'ready' , ( ) => {
103
104
setPlayerState ( 'ready' ) ;
You can’t perform that action at this time.
0 commit comments