Ticket #1346 (closed feature: fixed)

Opened 2 years ago

Last modified 12 months ago

onDisplayClick() API call

Reported by: jeroen Owned by: pablo
Priority: Normal Milestone: Player 6.0 beta
Component: general Keywords:
Cc: Forum thread:

Description

This JavaScript API call will be very useful for creating custom display click behaviors. Some examples:

  • Muting the video, switching to fullscreen or moving to the next playlist item instead of (or in addition to) toggling playback.
  • Navigating to an external page.
  • Displaying information about a particular part of the video.

Example implementation:

jwplayer("mydiv").setup({
    file: "video.mp4",
    flashplayer: "jwplayer.swf",
    events: { 
        onDisplayClick(function(xpos,ypos) {
            alert("you clicked the video on the coordinates ["+xpos+","+ypos+"]");
        });
    }
});

Change History

comment:1 Changed 23 months ago by pablo

  • Milestone changed from Backlog to Player 5.8

comment:2 Changed 19 months ago by pablo

  • Priority set to Normal
  • Milestone changed from Player 5.8 to Backlog

comment:3 Changed 19 months ago by pablo

  • Milestone changed from Backlog to Player 5.9

comment:4 Changed 19 months ago by pablo

  • Priority changed from Normal to High

comment:5 Changed 19 months ago by pablo

  • Milestone changed from Player 5.9 to Backlog

comment:6 Changed 13 months ago by jeroen

  • Priority changed from High to Normal

comment:7 Changed 12 months ago by jeroen

  • Milestone changed from Backlog to Player 6.0

Looks like we need this in 6.0 to keep the troops happy. It's little implementation work.

comment:8 Changed 12 months ago by pablo

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.