Get Playback Address

Last update:2022-10-27 10:07:21

Brief Introduction

Support to obtain video playback address, including adaptive code, video url (including multi-definition url)

  1. Adaptive code: that is to play external links, with its own H5 player, which can be directly embedded in the webpage/H5 or played in the browser, suitable for scenarios where enterprise customers do not have their own player.
  2. Video URL: The video online url address, used for publishing to the player, applicable to the scenario where the customer has his own player or has already used the CDNetworks player, including the urls as follows: source video url, LD url, SD url, HD url.
  3. Swf code: Play external links, comes with a flash player, will be abandoned soon, currently it is not necessary to access.

Instructions

  1. Enter video page -> select a video, click the codes, and the pop-up window is as follows:

  2. The adaptive code uses [Default Player] by default. If you modify the configuration of online player functions (autoplay, watermark, cover, advertisement, etc.), please refer to Preferences -> Players.

Development Guide

Support to obtain the playback code through the server-side API interface. For details, see OpenAPI interface: Get the playback code.
Web page embedding adaptive code solution: After obtaining the adaptive code, embed it into the customer’s own web page through an iframe method. For details, please refer to the HTML < iframe> tag. Examples are as follows:
dcc

  1. Adaptive code:
https://cloudv.cdnetworks.com/player/auto-play.action?videoId=13ac06ec01841000bba6bc1d00000000&userId=7A83139A60E3E5B2FFD3E6D3FEFC1C2F&playerType=11&language=2
  1. Iframe embed code example:
<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>Title</title></head><body>        <div >        <iframe src="https://cloudv.cdnetworks.com/player/auto-play.action?videoId=5f4adeff01791000ab4a009800000000&userId=7A83139A60E3E5B2FFD3E6D3FEFC1C2F&playerType=11" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true">        </iframe>    </div></body></html>
Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!