Exemplo n.º 1
0
<div class="containervideo">
  <div class="col-sm-12">
    <div class="row pull-right">
      <span class="glyphicon glyphicon-remove" onclick="tancar();"></span>
    </div><br/>
  </div>
  <div class="col-sm-12 informacio">
    <div class="framevideo col-sm-12">
      <iframe id="video" class="ivideo" src="//player.vimeo.com/video/<?php 
echo $v->getUrl();
?>
?color=fff&amp;autoplay=1" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    </div>
    <div class="col-sm-6 pull-left">
      <h2><a href="#"><strong><?php 
echo utf8_encode($v->getCategoria());
?>
</strong></a></h2>
      <h1 class="ultralight" id="nom"><?php 
echo utf8_encode($v->getTitol());
?>
</h1>
      <small><?php 
echo $lang['TEXT'];
?>
 <strong><a href="#"><?php 
echo utf8_encode($v->getAutor());
?>
</a></strong></small><br/>
      <small><?php 
echo $lang['VIDEO'];
Exemplo n.º 2
0
    if ($v->getPastillaBlanca()) {
        echo ' pastillablanca';
    } elseif ($v->getPastillaNegra()) {
        echo ' pastillanegra';
    }
    if ($v->getLletraNegra()) {
        echo ' textnegre';
    }
    ?>
">
            <script>console.log(<?php 
    echo $v->getLletraNegra();
    ?>
);</script>
        <h2><strong><?php 
    echo $v->getCategoria();
    ?>
</strong></h2>
        <h1 class="ultralight"><?php 
    echo utf8_encode($v->getTitol());
    ?>
</h1><br>
      </div>
      <span class="glyphicon glyphicon-play"></span>
    </a>
    <?php 
    if ($i == 8) {
        ?>
</div><?php 
    }
    ?>