Misago
  • Threads
  • Categories
  • Users
  • forum
  • group
  • search
  1. Threads
  2. Problems and issues
chevron_left Problems and issues

What's the Best Way to start insert Youtube iframe?

  • forum 8 replies
  • last reply by ManiSRaman Nov. 30, 2018
  • Last
  • link
    oscarnogs
    Members 18 posts
    July 4, 2018, 1:34 a.m. July 4, 2018, 1:34 a.m.
    link

    www.youtube.com/watch?v=aJOTlE1K90k

    <iframe width="560" height="315" src="www.youtube.com/embed/aJOTlE1K90k" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

    doesn't work.

    UPDATE: i figured it out!

  • arrow_forward

    Thread has been moved from Feedback, Ideas and Suggestions.

    • By rafalp on July 4, 2018, 8:07 a.m..
  • link
    Ghost Removed user
    Aug. 3, 2018, 11:53 a.m. Aug. 3, 2018, 11:53 a.m.
    link

    www.youtube.com/watch?v=tNfGyIW7aHM

    For anyone else who wants to know, just insert the url of the youtube video and it will automatically appear as a iframe containing the video.

    rafalp likes this.

    favorite 1

  • link
    mountain369
    Members 4 posts
    Sept. 10, 2018, 1:26 a.m. Sept. 10, 2018, 1:26 a.m.
    link

    Anybody know how to insert iframe of iqiyi or tencent vedio, for eg:
    www.iqiyi.com/v_19rr009dbo.html

    <iframe src="open.iqiyi.com/developer/player_js/coopPlayerIndex.html?vid=3403dab781d9bc6cb07b565eb3d358d6&tvId=1316650200&accessToken=2.f22860a2479ad60d8da7697274de9346&appKey=3955c3425820435e86d0f4cdfe56f5e7&appId=1368&height=100%&width=100%" frameborder="0" allowfullscreen="true" width="100%" height="100%"></iframe>

    open.iqiyi.com/developer/player_js/coopPlayerIndex.html?vid=3403dab781d9bc6cb07b565eb3d358d6&tvId=1316650200&accessToken=2.f22860a2479ad60d8da7697274de9346&appKey=3955c3425820435e86d0f4cdfe56f5e7

  • link
    rafalp
    Project Lead 1176 posts
    Sept. 10, 2018, 9:05 a.m. Sept. 10, 2018, 9:05 a.m.
    link

    Currently only Youtube and Vimeo is supported, but pull request that would generalize this is welcome.

    We could set data- attributes in the backend that our JavaScript would be finding and replacing with iframe for players - enabling us to easily add new video players for other sides from backend code.

  • link
    Joouis
    Members 8 posts
    Sept. 27, 2018, 10:14 a.m. Sept. 27, 2018, 10:14 a.m.
    link

    Looks useful, marked~

  • link
    mrant
    Members 13 posts
    Oct. 1, 2018, 4:50 a.m. Oct. 1, 2018, 4:50 a.m.
    link
    @rafalp has written:

    Currently only Youtube and Vimeo is supported, but pull request that would generalize this is welcome.

    We could set data- attributes in the backend that our JavaScript would be finding and replacing with iframe for players - enabling us to easily add new video players for other sides from backend code.

    Can you elaborate on which parts need to be adjusted? I want to add some.

  • link
    mrant
    Members 13 posts
    Oct. 1, 2018, 4:54 a.m. Oct. 1, 2018, 4:54 a.m.
    link

    vimeo.com/channels/staffpicks/291430228

  • link
    rafalp
    Project Lead 1176 posts
    Oct. 2, 2018, 9:59 a.m. Oct. 2, 2018, 9:59 a.m.
    link
    @mrant has written:

    Can you elaborate on which parts need to be adjusted? I want to add some.

    This is the file that implements one-boxing logic: github.com/rafalp/Misago/blob/master/frontend/src/services/one-box.js

  • link
    ManiSRaman
    Members 1 post
    Nov. 30, 2018, 10:32 a.m. Nov. 30, 2018, 10:32 a.m.
    link
    @rafalp has written:
    @mrant has written:

    Can you elaborate on which parts need to be adjusted? I want to add some.

    This is the file that implements one-boxing logic: github.com/rafalp/Misago/blob/master/frontend/src/services/one-box.js

    thanks

There are no more posts in this thread.

  • This site uses cookies to gather statistical data for use in traffic analysis.
  • Terms of service
  • Privacy policy
powered by misago