Create a Key Press Trigger

As a first trigger to get familiar with the trigger interface, we create one of the most basic triggers, the pressing of a specific key on a keyboard. 

We create this trigger on a Player. The process for a trigger on a Campaign is vastly the same. 

  1. Go to the Triggers and Interactivity menu of your Player.
    player triggers and interactivity menu
  2. On the top-right, click on the orange Add Trigger button.
    add trigger
  3. Trigger settings look like this at the beginning. 
    trigger settings
  4. You can give the trigger a name. It is optional, but doing so will allow you to track this trigger in your playback reports later. Let's give this trigger the name “key 1” because we want content to trigger when a user presses the 1 on the attached keyboard.
    trigger name explanation
  5. This is the When rule you have to set up. Click on the + button to add a trigger rule. 
    add trigger rule
  6. As explained in the Introduction to Triggers and Interactivity tutorial, you can choose between many types of triggers. Here, let's choose “Key press”.
    list of trigger options
  7. As the content should get triggered when a user presses the 1, write “contains 1”. 
    trigger when key press
  8. Next is the Action setting, meaning what shall happen when the trigger rule is performed. Click on the + button to add a trigger.
    add trigger event
  9. The Action can be Play, Enqueue, Enqueue and Play, or Stop a content.
    trigger action
  10. This is further explained when you click on the question mark next to Action.
    trigger action explanation
  • Play: The content plays immediately and interrupts any currently playing content.
  • Enqueue: The content plays next after the currently scheduled content has finished, but doesn't interrupt it.
  • Enqueue and Play: The currently playing content is immediately interrupted. The queued content starts to play.
  • Stop: It stops currently playing and queued content. 
  1. To keep it simple, let's use Play. After making your Action choice, a window with your Content opens. Click on a piece of content and confirm with the orange “Select” button at the bottom.
    select content
  2. By default, the trigger is filled out to play in the Playing Loop and for 10 seconds, provided the content does not have its own duration.
    confirm trigger settings
  3. Click on the green check mark on the right. Your trigger will be sent to the Player, ready to be used on the next key press by a user.
    configurated trigger

There are additional trigger settings which we have left out. For further reading please see this tutorial.