Metadata
    • PDF

    Metadata

    • PDF

    Article Summary

    Available in Classic and VPC

    Metadata explains how to edit the script code to set to display metadata and how to set a Click event on the displayed metadata.

    Note
    • For descriptions of properties to set options, see Player settings.
    • Metadata is only provided for the Standard pricing plan.

    Metadata visibility

    You can set to view metadata at the top of the player with descriptionNoVisible property.
    The following are examples for setting to view metadata:

    // Video (MP4)
    new ncplayer('video1', {
      autostart: true, // for test
      playlist: [
        { 
            file: 'https://CDNdomain/example_video_01.mp4',
            poster: 'https://CDNdomain/example_image_01.png',
            description:{
                "title": "Introduction to NAVER Cloud", // Title
                "created_at": "01/01/2023", // Uploaded date
                "profile_name": "NAVER Cloud", // Nickname or channel name of the person uploading
                "profile_image": "https://CDNdomain/example_image_profile.png", // Profile image or channel image
          },
        },
          descriptionNoVisible: true, // Not to view Metadata UI (false(default): to view Metadata UI)
      ],
    });
    

    Metadata Click event

    You can use playlist.description property to display metadata at the top of a player and configure an event occurring upon clicking.
    Examples are as follows:

    // Video (MP4)
    new ncplayer('video1', {
      autostart: true, // for test
      playlist: [
        { 
            file: 'https://CDNdomain/example_video_01.mp4',
            poster: 'https://CDNdomain/example_image_01.png',
            description:{
                "title": "Introduction to NAVER Cloud", // Title
                "created_at": "01/01/2023", // Uploaded date
                "profile_name": "NAVER Cloud", // Nickname or channel name of the person uploading
                "profile_image": "https://CDNdomain/example_image_profile.png", // Profile image or channel image
          },
        },
      ],
    });
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.