优翼云

优翼云


获取视频播放码

<p><strong>简要描述:</strong> </p> <ul> <li>获取cc视频播放码</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://192.168.0.225:8093api/videos/{id}/playcode</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET </li> </ul> <p><strong>资源类型:</strong> contentType: application/json</p> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>cc视频id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{"video":{"playcode":"&lt;script src=\"https://p.bokecc.com/player?vid=C81F8CFDF419F5659C33DC5901307461&amp;siteid=6A502F9D2595D136&amp;autoStart=false&amp;width=600&amp;height=490&amp;playerid=8D65BBF19EB10224&amp;playertype=1\" type=\"text/javascript\"&gt;&lt;\/script&gt;"}}</code></pre> <p><strong>返回参数说明</strong> cc视频返回的json格式字符串</p> <p><strong>备注</strong> 无</p> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML