"Fossies" - the Fresh Open Source Software Archive

Member "vlc-3.0.8/lua/http/dialogs/offset_window.html" (14 Aug 2019, 1863 Bytes) of package /windows/misc/vlc-3.0.8-win32.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <script type="text/javascript">
    2 //<![CDATA[
    3     $(function(){
    4         $('#window_offset').dialog({
    5             autoOpen: false,
    6             minWidth: 400,
    7             buttons:{
    8                 "Close":function(){
    9                     $(this).dialog("close");
   10                 }
   11             }
   12         });
   13         $( "#rateSlider" ).slider({
   14             range: "min",
   15             value: 1,
   16             min: 0.25,
   17             max: 10,
   18             step: 0.25,
   19             stop: function( event, ui ) {
   20                 sendCommand({
   21                     'command':'rate',
   22                     'val':(ui.value)
   23                 })
   24             },
   25             slide: function(event,ui){
   26                 $('#currentRate').empty();
   27                 $('#currentRate').append(ui.value+'x');
   28             }
   29         });
   30         $( "#audioSlider" ).slider({
   31             range: "min",
   32             value: 0,
   33             min: -10,
   34             max: 10,
   35             step: 0.25,
   36             stop: function( event, ui ) {
   37                 sendCommand({
   38                     'command':'audiodelay',
   39                     'val':(ui.value)
   40                 })
   41             },
   42             slide: function(event,ui){
   43                 $('#currentAudioDelay').empty();
   44                 $('#currentAudioDelay').append(ui.value+'s');
   45             }
   46         });
   47         $( "#subtitleSlider" ).slider({
   48             range: "min",
   49             value: 0,
   50             min: -10,
   51             max: 10,
   52             step: 0.25,
   53             stop: function( event, ui ) {
   54                 sendCommand({
   55                     'command':'subdelay',
   56                     'val':(ui.value)
   57                 })
   58             },
   59             slide: function(event,ui){
   60                 $('#currentSubtitleDelay').empty();
   61                 $('#currentSubtitleDelay').append(ui.value+'s');
   62             }
   63         });
   64     });
   65 //]]>
   66 </script>
   67 <div id="window_offset" title="<?vlc gettext("Track Synchronisation") ?>">
   68     <div><?vlc gettext("Playback Rate") ?></div>
   69     <div id="rateSlider" title="<?vlc gettext("Playback Rate") ?>"></div>
   70     <div id="currentRate" class="dynamic">1x</div>
   71     <br/>
   72     <div><?vlc gettext("Audio Delay") ?></div>
   73     <div id="audioSlider" title="<?vlc gettext("Audio Delay") ?>"></div>
   74     <div id="currentAudioDelay" class="dynamic">0s</div>
   75     <br/>
   76     <div><?vlc gettext("Subtitle Delay") ?></div>
   77     <div id="subtitleSlider" title="<?vlc gettext("Subtitle Delay") ?>"></div>
   78     <div id="currentSubtitleDelay" class="dynamic">0s</div>
   79 </div>