Video in launch project

  • Posted in : Responsy WP
  • rharquitectos
    Participant

    In portfolio we have the option launch project. I wan´t to play auto hd you tube videos, inside the site, it´s possible?

    ahmetsali
    Keymaster

    Hi, yes this is possible, follow these steps;

    1-) Enter any video url to Launch Project url, such as: http://vimeo.com/1755557
    2-) Add the codes below to the “Theme Settings > Style tab > External Stylesheet/JavaScript box” ;

    <script>
     $(function() { 
     
       $('.launch .btn').attr('rel','prettyPhoto');
     
       if($("a[rel^='prettyPhoto']").length) {
         $("a[rel^='prettyPhoto']").prettyPhoto({
           theme: 'pp_default',
           social_tools:"",
           default_width: 800,
           default_height: 450
         });
       }
     });
     </script>
    rharquitectos
    Participant

    Done, and thanks. My site is very better…

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Responsy WP’ is closed to new topics and replies.