Follow

Component The VideoScreen component is the main component that is used for playing video in a Sizmek ad.

To use the VideoScreen component, you must use the new Video Manager class. For more information, see VideoScreen API Information for AS2, or VideoScreen API Information for AS3.

The VideoScreen component supports almost all video file types, including MP4 and F4V.

Note: If you are using an MXP version 5.0.1.0 and below, and you created an ad with the VideoScreen/VideoScreenPlayer component, you need to replace the component to avoid malfunctions.

Replacing the VideoScreen/VideoScreenPlayer component
  1. Open your ad that contains the VideoScreen/VideoSceenPlayer component.
  2. Open up the Components panel and drag and drop the VideoScreen/VideoScreenPlayer component onto the stage as follows:

screen_videoscreen_component

The component's instance name must be the same as the original name. For example, if the instance name was videoScreenPlayer1, make sure the instance name of the new component is as follows:

screen_videoscreen_instance

Once you drag and drop, a dialog displays informing you that a component with this name already exists.

  1. Select the Replace Existing Component option.
  2. Click Ok.
    You have now successfully replaced the component.

To add the VideoScreen component to your ad:

  1. From the Sizmek Video components list, drag and drop the VideoScreen component onto the stage.
  2. Select the component.
  3. From the Adobe Flash main menu, click Window > Component Inspector (or click Shift + F7).
    The Component Inspector interface panel appears and you can enter the following definitions:
  4. The following options can be defined in the component’s interface:
  • On Click: These are the events that will occur when the user clicks on the video play area:
    • Go to Default Clickthrough URL: A new window opens to the URL that was defined in the Sizmek MDX platform.
    • Play/Pause: The movie toggles between play and pause each time the user clicks.
    • Custom: The video will call the function on the Sizmek layer: _OnClick(flsOver:Boolean) where is the instance name of the video.

    Note: If you are creating the ad from a template, then it will call the function on the Video layer.

On Roll Over: These are the events that will occur when the user moves the mouse cursor over the video play area:

  • Play/Pause: The movie toggles between Play when the user moves their mouse cursor over the play area, and Pause when the user leaves the play area.
  • Mute/Unmute: The audio will unmute if muted, and will mute if unmuted.
  • Custom: The video will call the function on the Sizmek layer:_OnRollover(flsOver:Boolean) where is the instance name of the video.

    Note: If you are creating the ad from a template, then it will call the function on the Video layer.

On Movie End: These are the events that will occur when the movie reaches the end of play:

  • None: Nothing will happen. This is the default action.
  • Replay: The movie restarts automatically at the end of play (looping). Auto-Initiated Replay, i.e. looping that is not user-initiated is not recommended in Streaming mode, as it requires additional bandwidth usage each time the movie is played. To prevent this from occurring, this setting will automatically replay the video once for streaming assets.
  • Pause on the movie’s last frame: The movie will pause right before the end of the movie.
  • Go to Timeline Frame no: Once the video ends, the Flash timeline will continue from the selected frame.
  • Custom: The video will call the function on the Sizmek layer:_OnMovieEnd where is the instance name of the video.

    Note: If you are creating the ad from a template, then it will call the function on the Video layer.

  • Close: For out-of-banner ads, the ad will close after the movie is done playing.

The VideoScreenPlayer component allows you to create a pre-built video player for your videos.

To use the VideoScreenPlayer component, you must use the new Video Manager class. For more information, see VideoScreenPlayer API Information for AS2, or VideoScreenPlayer API Information for AS3.

Note: If you are using an MXP version 5.0.1.0 and below, and you created an ad with the VideoScreen/VideoScreenPlayer component, you need to replace the component to avoid malfunctions.

  1. Open your ad that contains the VideoScreen/VideoSceenPlayer component.
  2. Open up the Components panel and drag and drop the VideoScreen/VideoScreenPlayer component onto the stage as follows:

screen_videoscreen_component

The component's instance name must be the same as the original name. For example, if the instance name was videoScreenPlayer1, make sure the instance name of the new component is as follows:

screen_videoscreen_instance

Once you drag and drop, a dialog displays informing you that a component with this name already exists.

  1. Select the Replace Existing Component option.
  2. Click Ok.
    You have now successfully replaced the component.

To add the VideoScreenPlayer component to your ad:

  1. From the Sizmek Video components list, drag and drop the VideoScreenPlayer component onto the stage.
  2. Select the component.
  3. From the Adobe Flash main menu, click Window > Component Inspector (or click Shift + F7).
    The Component Inspector interface panel appears and you can enter the following definitions:

The following options can be defined in the component’s interface:

  • Video Test File: The path or URL that will be used instead of the asset in the Ad Builder for Flash when previewing the asset using Ctrl + Enter or any other time the asset is not in a proper preview environment.
  • Selected Video: This option allows you to select the video for which you are defining the settings. You can either select a specific asset from the Ad Builder for Flash, or use an external URL to call the video.
    • Additional Asset ID: The asset ID that the additional asset will be given when loaded into the Sizmek MDX platform. For example, 1 corresponds to the first additional asset, 2 to the additional asset appearing with the numeral 2, etc. The asset must correspond to the asset ID of the video asset or video package in the Sizmek MDX platform.
    • External URL: If selected, the Type in external URL field appears. Enter an external URL. This option enables use of an asset located in an external URL. This option should be used if you have an individual asset greater than 10 MB, if the total ad is greater than 10 MB, or if the total ad is greater than the publisher's specifications.

    Note: If you are streaming an MPEG-4 based file, the mp4 prefix should be added to the file name. For example, video.mp4; however, if you are streaming an FLV file, then the flv prefix should be omitted from the file name.

  • Play Automatically: If selected, the video will start automatically. The default is unselected.
  • Start video with sound on: If selected, the video will start with the volume at 100%. The default is unselected.
  • Display Size: Defines the scaling mode and size of the video.
  • Stretch video to fit, preserving aspect ratio: If selected, the video will scale up to the component size, preserving the aspect ratio. As a result, the video might not fill the entire component size. The default is selected.
  • Stretch video to fit exactly: If selected, the video will be scaled to the exact size of the component. The default is unselected.
  • Play in Original Video Size: If selected, the video will be centered in the component, unless the video size is larger than the component size. If the video is larger than the component size, then this option works just like "Stretch video to fit, preserving aspect ratio". The default is unselected.
  • Playback Mode: The playback mode controls if the video plays using streaming or progressive download.
  • Progressive Download Only: The video will be played using HTTP Progressive Download.
  • Streaming Only: The video will be played using RTMP Streaming Download from the FMS.

    Note: If the Streaming Only checkbox above is selected, then when uploading your ad, the video will not be shown in the preview. This is due to the fact that the video file is first uploaded to Akamai, Sizmek's streaming server supplier, and is setup there. The video is usually ready for streaming preview after 5 minutes.

  • On Click: These are the events that will occur when the user clicks on the video play area:
    • Go to Default Clickthrough URL: A new window opens to the URL that was defined in the Sizmek MDX platform.
    • Play/Pause: The movie toggles between play and pause each time the user clicks.
    • Custom: The video will call the function on the Sizmek layer: _OnClick(flsOver:Boolean) where is the instance name of the video.

    Note: If you are creating the ad from a template, then it will call the function on the Video layer.

On Roll Over: These are the events that will occur when the user moves the mouse cursor over the video play area:

  • Play/Pause: The movie toggles between Play when the user moves their mouse cursor over the play area, and Pause when the user leaves the play area.
  • Mute/Unmute: The audio will unmute if muted, and will mute if unmuted.
  • Custom: The video will call the function on the Sizmek layer:_OnRollover(flsOver:Boolean) where is the instance name of the video.

    Note: If you are creating the ad from a template, then it will call the function on the Video layer.

On Movie End: These are the events that will occur when the movie reaches the end of play:

  • block: Nothing will happen. This is the default action.
  • Replay: The movie restarts automatically at the end of play (looping). Auto-Initiated Replay, i.e. looping that is not user-initiated is not recommended in Streaming mode, as it requires additional bandwidth usage each time the movie is played. To prevent this from occurring, this setting will automatically replay the video once for streaming assets.
  • Pause on the movie’s last frame: The movie will pause right before the end of the movie.
  • Go to Timeline Frame no: Once the video ends, the Flash timeline will continue from the selected frame.
  • Custom: The video will call the function on the Sizmek layer:_OnMovieEnd where is the instance name of the video.

    Note: If you are creating the ad from a template, then it will call the function on the Video layer.

  • Close: For out-of-banner ads, the ad will close after the movie is done playing.

This tab allows you to configure cuepoints that are not embedded into the video file. Click the + button to add a new cuepoint, and the - button to remove the selected cuepoint. You must enter values into the following columns:

  • Event Name: The name of the cuepoint event.
  • Time: The time at which the event will fire (in seconds).
  • Asset ID: The ID of the asset for which the event is being fired. For an external video, use the asset ID "0".

Show Controls: Choose when to show the control bar The default is ‘Show Always’.

  • Show Always: The control bar is always visible
  • Show Only On Rollover: The control bar is only visible when rolled over the VideoScreenPlayer, or either the VideoScreen or ControlBar, depending on which component is selected.
  • Turn Audio On Replay: When the replay button in the control bar is selected, this will turn the audio on for the video. The default is selected
  • Show Buffering Animation: (VideoScreenPlayer only): Shows the buffering animation over the video when the video is buffering.
  • Video Instance: (ControlBar only): Allows you to configure the VideoScreen instance that the ControlBar will work with. If left blank, this will use the current video.
  • Visible Controls: Hides/Shows the following controls:

    screen_controlbar

The ControlBar component allows you to build the control bar buttons (play, pause, mute, etc.) for a video.

To add the ControlBar component to your ad:

  1. From the Sizmek Video components list, drag and drop the ControlBar component onto the stage.
  2. Select the component.
  3. From the Adobe Flash main menu, click Window > Component Inspector (or click Shift + F7).

The Component Inspector interface panel appears and you can enter the following definitions:

Show Controls: Choose when to show the control bar The default is ‘Show Always’.

  • Show Always: The control bar is always visible
  • Show Only On Rollover: The control bar is only visible when rolled over the VideoScreenPlayer, or either the VideoScreen or ControlBar, depending on which component is selected.
  • Turn Audio On Replay: When the replay button in the control bar is selected, this will turn the audio on for the video. The default is selected
  • Show Buffering Animation: (VideoScreenPlayer only): Shows the buffering animation over the video when the video is buffering.
  • Video Instance: (ControlBar only): Allows you to configure the VideoScreen instance that the ControlBar will work with. If left blank, this will use the current video.
  • Visible Controls: Hides/Shows the following controls:

    screen_controlbar

Was this article helpful?
0 out of 3 found this helpful
Have more questions? Submit a request

Comments