Here is a simple script that will demonstrate that video is being blocked in 
jQt but not in a browser or through JHS in J904

NB. multimedia lab viewer for jqt platform 

NB. Video Source is Youtube promotional video for J
VIDEO=:'https://www.youtube.com/embed/aV936cVrN0I?feature=oembed;rel=0&'

NB. === form description
MULTIMEDIA=: 0 : 0
pc multimedia;
cc mm webview;set mm sizepolicy expanding;
)

NB. === close button 
multimedia_close=: 3 : 0
wd 'pclose'
)

play=: 3 : 0
 wd MULTIMEDIA
 wd 'set mm minwh 480 285 ;'
 wd 'set mm html <iframe width="450" height="265" src="',y,'"></iframe>;'
 wd 'pshow;'
)

watch=: 3 : 0 NB. watch VIDEO will show video without jQt
 launch y
)

play VIDEO  NB. will play video when loaded
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to