Embedding videos

Keryth987
Keryth987

So, I recall CGregory showed in a topic how to directly embedd videos. I've not been able to find the topic again and hes not responded to emails in a while, so, does anyone recall how to do this?

Thanks

Keelah Se'lai

Karyth

Comments

  • Johnprime
    Johnprime
    Posts: 252

    If I remember correctly, he mentioned something about uploading the video into the media library of the site and then embedding it from the media library the same way you would embed an image.

    Johnprime

    Deadwood Deacon Banner

    Where the west is really wild!

    The Valley of Life Banner

    The Valley of Life

  • cgregory
    cgregory
    Posts: 780

    Assuming you can get on.  You need to host the video in your media library and make sure the embed is using the cloudfront-video class

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • Johnprime
    Johnprime
    Posts: 252

    See, I remembered some of the instructions! :-)

    I'm trying to get on so I can pull the writeups from my Deadwood Deacon campaign. I have the notes still, but it would be nice to be able to make a backup of the actual adventure writeups before we completely loose OP!

    Johnprime

    Deadwood Deacon Banner

    Where the west is really wild!

    The Valley of Life Banner

    The Valley of Life

  • cgregory
    cgregory
    Posts: 780 edited August 2017

    Basically after the embedding the code should look like this

    <div class='center'>

    <div class='oembed cloudfront-video'><a href='https://db4sgowjqfwig.cloudfront.net/campaigns/124016/assets/749063/Netherlands2nd.mp4'></a></div>;

    </div>

    The end result is can be seen here

    https://x-com-defiance.obsidianportal.com/adventure-log/netherland-news
    Post edited by cgregory on

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • Keryth987
    Keryth987
    Posts: 1,047

    Thanks so much both of you

    and good to see you still around CGregory

     

    keelah Se'lai

    Keryth

  • GamingMegaverse
    GamingMegaverse
    Posts: 3,001

    Would be nice to see OP fix issues rather than relying on the community for workarounds...

    Just trying to help out.

  • Rhubarb
    Rhubarb
    Posts: 8 edited October 2017

    If I just wanted to upload audio files (given that SoundCloud is no longer working) how would I change the code so that the black box does not appear and that the background is clear? And not in a box?

    Thx in advance

    Post edited by Rhubarb on
Sign In or Register to comment.

April 2024
Season of Strife

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions