[0] :classvideoAdvanced: MiPageSample[1] ⍝ Control:: _html.video _html.source [2] ⍝ Description:: Specify a list of alternate video sources [3] [4] ∇ Compose[5] :Access public
[6] [7] mysound←'autoplay=''loop=''controls='Add_.video'Your browser does not support the video tag.'[8] [9] ⍝ This is a list of alternative clips in preferred order [10]'src=../Data/unicorn.mp4'mysound.Add_.source[11]'src=../Data/lego.ogg'mysound.Add_.source[12]'src=../Data/bear.mp4'mysound.Add_.source[13][14]Add_.p'What do you see?'[15]mylist←Add_.ul[16]mylist.Add_.li'Unicorn: You must have added a file to the Data folder. (How does a unicorn look?)'[17]mylist.Add_.li'Lego: Your browser can play .ogg files, e.g. Chrome, Firefox, Opera.'[18]mylist.Add_.li'Bear: Your browser can only play .mp4 files, e.g. Internet Explorer, Safari.'[19]mylist.Add_.li'Nothing: Your screen may be off. (Are you using a screen reader?)'[20]∇[21]:endclass