Opening embeded videos on a shadow box

  • Author
    Posts
  • #61945

    samueltrepanier1
    Member
    Original poster

    Hey guys,

    Got one questions about embeded video (youtube, vimeo, etc).
    Now if I click on a video, it opens full screen on the youtube site (the page link goes to youtube). I would like it to open in a sort of carousel or a shadow box. I would it be possible?

    Page I need help :
    http://samueltrepanier10.wordpress.com/portfolio/welcome/

    By exemple, I’d like something like this : http://samueltrepanier.com/index.php/archives/3905

    Thanks a lot!
    Best,
    Samuel

    The blog I need help with is: samueltrepanier10.wordpress.com

    #62102

    themetrust
    Theme Author

    Hi Samuel,

    I don’t think you can have the video open in a lightbox, but have you considered embedding the actual video in the page, instead of a screenshot image of the video? From a usability standpoint, I think that would be better.

    #62119

    samueltrepanier1
    Member
    Original poster

    Looks way better, you’re right! I was doing it the other to choose the front images, but now I can change it directly on Youtube.

    Thanks a lot for your kind help!

    Best,
    Samuel

    #62121

    samueltrepanier1
    Member
    Original poster

    I’m trying to cahnge the height and width of the embeded video, but it doesn’t work (no changes on the blog’s page).

    Could you have a look ?
    http://samueltrepanier10.wordpress.com/portfolio/welcome/

    Best,
    Samuel

    #62152

    themetrust
    Theme Author

    Try adding this to your custom CSS:

    .embed-youtube {
       max-width: 700px;
       margin: 0 auto;
    }
    #62164

    samueltrepanier1
    Member
    Original poster

    Amazing!

    Thanks a lot :)
    Samuel

The topic ‘Opening embeded videos on a shadow box’ is closed to new replies.