-1

これまでのところ、これは私が持っているものです:

プレイヤーjsの追加

<script src="http://api.dmcdn.net/all.js"></script>

<script>
    DM.init({
          apiKey: 'my app key',
          status: true, // check login status
          cookie: true // enable cookies to allow the server to   access the session
    });


    // Append a div in the DOM, you may use a real <div> tag
    var div = document.createElement('div');
    document.body.appendChild(div);


    var videos = 'xdn8vw'; // this is the video id from dailymotions site now i want to play the any youtube video
    var player = DM.player(div, {video: videos });


</script>

だから私はこのビデオを再生するプレーヤーが必要です ' https://youtu.be/hXI8RQYC36Q?list=PLFgquLnL59akA2PflFpeQG9L01VFg90wS '

4

1 に答える 1

2

できません。YouTube プレーヤーが YouTube ビデオの再生のみを許可するように、dailymotion プレーヤーは Dailymotion ビデオのみを読み取ることができます。

于 2015-04-07T07:55:23.167 に答える