Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter LTKort213

    (@ltkort213)

    Deleted all my plugins, still does not work

    Forum: Plugins
    In reply to: Webcam On wordpress
    Thread Starter LTKort213

    (@ltkort213)

    This is the Javascript code:

    jwplayer('webcam').setup({
    	'file': 'alohabeach.stream',
      'autostart': 'true',
      'streamer': 'rtmp://streaming2.webcam.nl:80/alohabeach',
      'controlbar': 'over',
      'controlbar.idlehide': 'true',
      'width': '800',
      'height': '449',
      'icons': 'true',
      'skin': 'https://www.surfabc.nl/wp-content/themes/surfabc/_js/jw-addons/bekle_mod.zip',
      plugins: {
        '/wp-content/themes/surfabc/_js/extralogo.js': {
          link1: 'https://www.facebook.com/pages/Aloha-Wijk-aan-Zee/392492950174',
          left1: '10',
          top1: '407',
          width1: '90',
          height1: '31',
          link2: 'https://www.protest.nl/',
          left2: '754',
          top2: '389',
          width2: '35',
          height2: '49'
        }
      },
     	'modes': [
          {type: 'flash', src: 'https://hdtv.webcam.nl/alohabeach/player.swf'},
          {
            type: 'html5',
            config: {
             'file': 'https://streaming2.webcam.nl/alohabeach/alohabeach.stream/playlist.m3u8',
             'provider': 'video'
            }
          }
      ]
    });
    
    // DisplayWidth & DisplayHeight specifies the displayed width & height of the image.
    // You may change these numbers, the effect will be a stretched or a shrunk image
    var	DisplayWidth = 800;
    var DisplayHeight = 449;
    
    // This is the URL of the generated media.
    var MediaURL = "rtsp://streaming2.webcam.nl:1935/alohabeach/alohabeach.stream";
    var output = "";
    output  = '<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width=';
    output += DisplayWidth;
    output += ' height=';
    output += DisplayHeight;
    output += ' CODEBASE="https://www.apple.com/qtactivex/qtplugin.cab">';
    output += '<param name="src" value="/wp-content/themes/surfabc/_img/dummy.mov">';
    output += '<param name="autoplay" value="true">';
    output += '<param name="controller" value="true">';
    output += '<param name="qtsrc" value="';
    output += MediaURL;output += '">';
    output += '<embed src="/wp-content/themes/surfabc/_img/dummy.mov" width=';
    output += DisplayWidth;
    output += ' height=';
    output += DisplayHeight;
    output += ' qtsrc="';
    output += MediaURL;
    output += '" autoplay="true" controller="false" target="myself"';
    output += ' PLUGINSPAGE="https://www.apple.com/quicktime/download/"></embed>';
    output += '</OBJECT>';
    
    jQuery('#quicktimeLink').click(function(e) {
    	e.preventDefault();
    	jQuery('#webcam-border').html(output);
    });
    
    jQuery('#noVideoLink').click(function(e) {
    	e.preventDefault();
    	jQuery('#noVideoOptions').fadeToggle().parent().toggleClass('open');
    });
Viewing 2 replies - 1 through 2 (of 2 total)