第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

如何在 Reactjs 上集成 BoxCast 播放器?

如何在 Reactjs 上集成 BoxCast 播放器?

暮色呼如 2023-08-10 15:36:40
因此,我嘗試在我的 React 應(yīng)用程序(javascript 應(yīng)用程序)上集成 BoxCast 播放器,但我不知道該怎么做。有人知道我能做什么嗎?PS:我的問題是 iframe 沒有響應(yīng),所以我嘗試使用 javascript 。<div id="boxcast-widget-{video-example}"></div><script type="text/javascript"charset="utf-8">    (function (d, s, c, o) { var js = d.createElement(s), fjs = d.getElementsByTagName(s)[0]; var h = (("https:" == document.location.protocol) ? "https:" : "http:"); js.src = h + "//js.boxcast.com/v3.min.js"; js.onload = function () { boxcast.noConflict()("#boxcast-widget-" + c).loadChannel(c, o); }; js.charset = "utf-8"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "{video-example}", { "showTitle": 0, "showDescription": 0, "showHighlights": 0, "showRelated": false, "showCountdown": false, "market": "smb", "showDocuments": false, "showIndex": false, "showDonations": false, "autoplay": "try-muted", "playInline": true, "dvr": false }));</script>謝謝!
查看完整描述

2 回答

?
LEATH

TA貢獻(xiàn)1936條經(jīng)驗(yàn) 獲得超7個(gè)贊

因此,我嘗試在我的 React 應(yīng)用程序(javascript 應(yīng)用程序)上集成 BoxCast 播放器,但我不知道該怎么做。有人知道我能做什么嗎?PS:我的問題是 iframe 沒有響應(yīng),所以我嘗試使用 javascript 。


<div id="boxcast-widget-{video-example}"></div>

<script type="text/javascript"charset="utf-8">

    (function (d, s, c, o) { var js = d.createElement(s), fjs = d.getElementsByTagName(s)[0]; var h = (("https:" == document.location.protocol) ? "https:" : "http:"); js.src = h + "//js.boxcast.com/v3.min.js"; js.onload = function () { boxcast.noConflict()("#boxcast-widget-" + c).loadChannel(c, o); }; js.charset = "utf-8"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "{video-example}", { "showTitle": 0, "showDescription": 0, "showHighlights": 0, "showRelated": false, "showCountdown": false, "market": "smb", "showDocuments": false, "showIndex": false, "showDonations": false, "autoplay": "try-muted", "playInline": true, "dvr": false }));

</script>

謝謝!


查看完整回答
反對(duì) 回復(fù) 2023-08-10
?
慕哥9229398

TA貢獻(xiàn)1877條經(jīng)驗(yàn) 獲得超6個(gè)贊

這看起來并不兼容 React。如果您堅(jiān)持從 React 使用它,則需要集成它。

這可能是一項(xiàng)乏味的工作,我不鼓勵(lì)你這樣做。尋找另一個(gè)聲稱與 React 兼容的提供商。


查看完整回答
反對(duì) 回復(fù) 2023-08-10
  • 2 回答
  • 0 關(guān)注
  • 128 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)