Adding ga: {ourGAcode} break player entirely.
Need advise as to why adding ga:{} may be breaking our player.
We have embed code for live streaming with fall back for rtpms to hls formats.
Our working embed code looks like this:
jwplayer('playerDIV').setup(
{playlist: [{sources: [{file: 'rtmps://OURSTREAM1.stream'},{file: 'https://OURSTREAM1.m3u8'}]
,image: 'Player_Image.png',title: 'Site 1 - Infant 2'
,rtmp:{securetoken: ''}
,height: '100%'
,width: '100%'
,aspectratio: '16:9'
,mute: true
, primary: 'html5'}
,{sources: [{file: 'rtmps://OURSTREAM2.stream'},{file: 'https://OURSTREAM2.m3u8'}]
,image: 'Player_Image.png'
,title: 'Playground Back 1'
,rtmp:{securetoken: ''}
,height: '100%'
,width: '100%'
,aspectratio: '16:9'
,mute: true
, primary: 'html5'}]
,listbar: {position: 'right',size: 320},height: '500',width: '100%', mute: true
, skin: 'https://www.OURDOMAIN.net/jwplayer_skin/ourskin.xml',image: 'http://OURDOMAIN.com/Player_Image.png'});
We have tried adding ga: {ourGAcode} to both the playlist attribute sections and to the player attribute section.
When ga sections is included in either location the player fails to load anything at all.
Advise ?