• [ Moderator note: moved to Fixing WordPress. ]

    Hello,

    I have a question. I am trying to embed a video on a page.

    However, the code I tried to embed both in javascript and html are not working.

    I am sending you a video to see what’s happening.

    May I know the reason for this? Is it because I have editor role?

    What user access to I need? Admin?

    Please let me know.

    here’s the video:
    video 1:
    https://www.dropbox.com/s/o78x4595mvp3xqg/case%20study%20007%20%28script%29.mp4?dl=0

    video 2:
    https://www.dropbox.com/s/qhqtqpnvoys5nfy/case%20study%20007%20%28iframe%29.mp4?dl=0

    here’s the code I use:
    code 1:
    <script src=’//fast.wistia.com/embed/medias/6wdvr94tha.jsonp’ async></script><script src=’//fast.wistia.com/assets/external/E-v1.js’ async></script><div class=’wistia_embed wistia_async_6wdvr94tha’ style=’height:360px;width:640px’> </div>

    code 2:
    <div class=’wistia_responsive_padding’ style=’padding: 56.25% 0 0 0; position: relative;’>
    <div class=’wistia_responsive_wrapper’ style=’height: 100%; left: 0; position: absolute; top: 0; width: 100%;’>

    <iframe class=’wistia_embed’ src=’//fast.wistia.net/embed/iframe/t6x62x907r?seo=false&videoFoam=true’ name=’wistia_embed’ width=’100%’ height=’100%’ frameborder=’0′ scrolling=’no’ allowfullscreen=’allowfullscreen’></iframe>

    </div>
    </div>
    <script src=’//fast.wistia.net/assets/external/E-v1.js’ async></script>

    Thanks!

The topic ‘I can’t embed a video using javascript code’ is closed to new replies.