0

我需要用直播的标题更改我的直播中的文本“直播”。我怎么能做到这一点。我是 jwplayer 的新手。任何帮助将不胜感激。

提前致谢

4

1 回答 1

0

您是在播放器中看到它还是作为流的一部分?您可以在设置播放器时为源添加标题。

<div id="myElement">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
    file: "//example.com/uploads/myVideo.mp4",
    title: 'Basic Video Embed',
    description: 'A video with a basic title and description!',
});
</script>

https://support.jwplayer.com/customer/en/portal/articles/1406723-basic-video-embed

于 2016-02-29T21:20:09.443 回答