Plugin Directory

Changeset 1460510


Ignore:
Timestamp:
07/25/2016 11:01:28 PM (10 years ago)
Author:
Vincent Stark
Message:

[VID-2] button style + fix problem with modal window

Location:
video-capture/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • video-capture/trunk/css/record_video.css

    r1460505 r1460510  
    165165.wp-video-capture-email .wp-video-capture-email-submit-skip {
    166166  display: none;
     167  background-color: #5bc0de;
    167168}
     169
     170.wp-video-capture-email .wp-video-capture-email-submit-save {
     171 background-color: #5cb85c;
     172}
     173
     174.wp-video-capture-email .wp-video-capture-email-submit-save, .wp-video-capture-email .wp-video-capture-email-submit-skip {
     175  width: 42%;
     176  display: inline-block;
     177  color: white;
     178  cursor: pointer;
     179  border: none;
     180  font-size: 1em;
     181  font-weight: normal;
     182  text-align: center;
     183  text-transform: uppercase;
     184  line-height: 1;
     185  margin-right: 1%;
     186  padding-top: 0.8125em;
     187  padding-bottom: 0.75em;
     188}
  • video-capture/trunk/js/record_video.js

    r1460509 r1460510  
    8989                  jQuery('.wp-video-capture-flash-container')
    9090                     .addClass('wp-video-capture-flash-container-popup');
    91                   jQuery('wp-video-capture-flash-container-popup').magnificPopup({
     91                  jQuery('span.wp-video-capture-record-flash-runner').magnificPopup({
    9292                     type: 'inline',
    9393                     preloader: false,
     
    117117
    118118  function renderSWF(element) {
    119     jQuery('.wp-video-capture-flash-container-popup').click();
    120     jQuery('.wp-video-capture-flash-container-popup').css('display','inline-block');
    121     jQuery(element).hide();
    122 
    123119    // Pass SWF Video Player params
    124120    var flashvars = {
     
    150146      // Hide the button
    151147      jQuery(element).hide();
     148    }else {
     149          jQuery('.wp-video-capture-record-flash-runner').click();
    152150    }
    153151  }
  • video-capture/trunk/templates/record-video.php

    r1460505 r1460510  
    5151            </div>
    5252            <div class="wp-video-capture-button-container">
    53                 <a href data-mfp-src="#wp-video-capture-flash-block" data-record-type="record" class="wp-video-capture-record-button-desktop"></a>
     53                <a href data-record-type="record" class="wp-video-capture-record-button-desktop"></a>
     54                <span data-mfp-src="#wp-video-capture-flash-block" class="wp-video-capture-record-flash-runner"></span>
    5455            </div>
    5556        </div>
Note: See TracChangeset for help on using the changeset viewer.