Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7444201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:27:49+00:00 2026-05-29T11:27:49+00:00

I am using JW (v 5.8) player to embed a video. And I want

  • 0

I am using JW (v 5.8) player to embed a video. And I want to do it so that autostart is enabled, allowing the video to start playing as soon as the page loads, the controlbar is disabled so that a viewer cannot seek to a random point in a video and the play/pause function on clicking the video is disabled. To embed the mp4 video, I am using JW player.
I managed to accomplish the first 2 tasks, but to disable the play/pause function on clicking the screen, I am trying to use the clickproxy plugin and it does not work. I am pasting my code below:

<div id="mediaplayer">JW Player goes here</div>

<script type="text/javascript" src="jwplayer.js"></script>
<script type="text/javascript">
    jwplayer('mediaplayer').setup({
        'flashplayer': 'player.swf',
        'file': 'video.mp4',
        'controlbar': 'none',
        'width': '1000',
        'height': '1000',
        'plugins': 'clickproxy',
        'clickproxy.listener': 'clickListener',
        'autostart': 'true'
    });
function clickListener(obj)
{
}
</script>

Right now with this code, the video loads, but doesn’t even start playing, and clicking on the video doesn’t do anything because of the clickproxy plugin. Anyway to accomplish what I want?
I am a newbie in javascript, so any help will be really appreciated!

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:27:49+00:00Added an answer on May 29, 2026 at 11:27 am

    Ahhh yes, there used to be functionality in the player to do this (about ignoring the click) but it seems it keeps getting removed.

    Here’s the solution I’ve just implemented that works for me, I simply plug into the onPause javascript event and start the media playing again.

        <script type='text/javascript'>
      jwplayer('mediaspace').setup({
        'flashplayer': '/jw/player.swf',
        'file': 'http://d3usowdy51yate.cloudfront.net/your-mp4-goes-here.mp4',
        'autostart': 'true',
        'icons': 'true',
        'stretching': 'fill',
        'controlbar': 'none',
        'width': '640',
        'height': '360',
        events: {
            onPause: function(event) {
              jwplayer('mediaspace').play();}
        }
      });
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want embed MP4 video (H.264) in a way that should work cross browser
Is there any way to detect if a commercial is playing? I'm using player.observe(models.EVENT.CHANGE,
I am using media player to play audio and video. I am creating own
I created a flash video player using Flash CS3. I exported the player to
I'm building a video player using Flash CS4 (hereby referred to as Flash) to
I'm using FlowPlayer to replace an existing FLV player on my site that plays
I'm building a site with an embedded Youtube player using JSF. I want to
I have a script that gets embed code for me.I am using php simple
I'm using the Ooyala API ( http://www.ooyala.com/support/docs/player_api ) to embed videos and want to
If I were to embed a YouTube video for example <iframe width=560 src=http://www.youtube.com/embed/25LBTSUEU0A class=player

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.