Roku HD110 User Guide - Page 48

If the attract or showcase video is playing, pressing button 3 returns to the menu. Since there

Page 48 highlights

EXAMPLE 4: Video and slide playback using button input Example 4 plays two videos and three images and it contains five events: three button events, a timeout event, and a videoend event. When Example 4 starts, BrightSign displays MENU.BMP, since it's in the first STATE position. • If the menu is being displayed, pressing button 1 starts the attract video; pressing button 2 starts the showcase video; and pressing button 3 starts the slideshow. If no button is pressed, the attract video starts automatically after 10 seconds. • If the attract or showcase video is playing, pressing button 1 restarts it. • If the attract or showcase video is playing, pressing button 3 returns to the menu. Since there is no entry under button 2 for either video, button 2 is ignored. When either the attract or showcase video ends, the menu is displayed, as indicated under the videoend event. • For the slideshow, button 2 advances to the next slide, and button 1 goes back to the previous slide. Button 3 returns to the menu. 42 • •

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118

42
EXAMPLE 4:
Video and slide playback using button input
Example 4 plays two videos and three images and it contains five events: three button events, a
timeout event, and a videoend event. When Example 4 starts, BrightSign displays MENU.BMP,
since it’s in the first STATE position.
If the menu is being displayed, pressing button 1 starts the attract video; pressing button 2
starts the showcase video; and pressing button 3 starts the slideshow. If no button is pressed,
the attract video starts automatically after 10 seconds.
If the attract or showcase video is playing, pressing button 1 restarts it.
If the attract or showcase video is playing, pressing button 3 returns to the menu. Since there
is no entry under button 2 for either video, button 2 is ignored. When either the attract or
showcase video ends, the menu is displayed, as indicated under the videoend event.
For the slideshow, button 2 advances to the next slide, and button 1 goes back to the previous
slide. Button 3 returns to the menu.