Use a placeholder video

Use a placeholder to advertise your upcoming holiday sale while the requested video processes.

Using videos on your website or application creates a more engaging experience with your customers. Whether these videos are educational, advertising, or even product specific, videos are a great way to communicate and capture the attention of an audience. Video files are generally much larger than images and take a bit of time to optimize on the first request. As an alternative to delivering the original version during this time period, we offer the ability to serve a placeholder video while the processing takes place. This placeholder video can be anything you’d like. It could be a “please be patient while we make your video look its best” or simply a preview of an upcoming product, episode, or sale – you're bound only by the limits of your imagination.

To use videos with Image and Video Manager, you need to set up an Image and Video Manager Video rule in your delivery configuration in Property Manager. Videos require this separate rule and also use different policies than Image and Video Manager images.

How to

  1. Use the top-right menu in the header to select the appropriate Control Center account (one with access to the applicable product).
  2. Enter the name of the property in the Find Context field.

    The Property Details screen displays.

  3. Click Open Version # at the top of the page and select the version number.

    The Property Manager Editor displays.

  4. Click Add Rule, then select Image Manager Video, and click Insert Rule.

    The Image and Video Manager rule appears in the Property Manager Editor.

    Adding the Image and Video Manager Rule
  5. Select the match criteria for the rule in the If section. Specify the file extensions of your videos.
  6. In the Image and Video Manager Video behavior, complete these fields:
    Table 1. Image and video Manager behavior settings
    Field Action
    Video Optimization Settings
    Enable Set to On to enable video optimization.
    Scale for Mobile Turn on to scale videos down to the maximum screen resolution (as determined by the user agent) for smaller, mobile devices.
    CAUTION: This can affect page layout, so it is important to test on many devices with different screen sizes and resolutions.
    Use Best File Type Turn on to convert videos automatically to the best file type for the requesting device. This feature produces the smallest file size that retains video quality, based on the user agent and initial video file.
    Region Pick a location close to your site’s heaviest traffic. (If the region of heaviest traffic varies, choose United States.) Image and Video Manager distributes cached objects from here to edge servers.
    Traffic Settings
    Pristine Videos CP Code Required. Select the Content Provider (CP) code for traffic between Image and Video Manager and your origin, where your original videos reside.
    Derivative Videos CP Code Required. Select the CP code for traffic serving derivative videos to end users.
    Policy Set (API Key)
    Policy Set Type Select Standard to use the default name, based on your property name. Select custom to create a custom policy set name.
    Policy Set Name (API Key) Keep note of this set name, which associates a set of Image and Video Manager policies with this instance of the Image and Video Manager behavior. You will need this value when setting up your policies in Image Manger's policy manager. You should put the word video in this name, so you know that this in a video policy when you select it in Image and Video Manager.
  7. Click Save, push the configuration to staging, and exit Property Manager.
  8. Click Image and Video Manager in Akamai Control Center and select your contract and policy set name (Hint: your video policy ends with “-v” and we’ll call it out as (Video) in the drop down.
  9. Click Manage Policies.
  10. Select your policy and click View/Edit Staging Policy in the Actions menu next to your policy.
  11. From there you can tune your video policy just as your would for images under the Workflow section. Select Derivative Quality to set your quality level and select Derivative Widths to set your resolution breakpoints. The last thing you’ll select is your Placeholder Video.
  12. You can choose Original Video, Fixed Value, or Variable.
    • Original Value is just as it implies, we serve your original source video until we are done processing the renditions. This works well when source videos are small in file size and duration. However, this could impact user experience so we offer two other solutions.
    • Fixed Value allows us to serve a static placeholder video. This could be a promo video or an announcement to your customer that your video is coming soon. This is a one size fits all approach. You can only specify one video for each video policy.
    • Variable allows for additional flexibility. It allows multiple placeholder videos to be used based on whatever variables you’d like to set. This is more advanced and requires the creation of policy variables and leveraging them to create a dynamically generated URL.
    Note: Your placeholder video should be of a reasonable resolution, duration, and file size. It displays only temporarily until the optimized video appears and as such is a “one size fits all” video.
  13. Save and test your policy on staging and then push it to production when it is ready.

Next steps

For more information, see the Image and Video Manager Help