I have successfully assigned IDs to each 1PixelOut player in a view as follows...

array(
    'flashvars' => array(
        'playerID'=> $data->nid
    )
)

However, the auto-stop feature that only allows a single player to play at a time does not function because the .js file for 1pixelout is not included in the page header. What is the easiest way to get the appropriate script file included in the header for this functionality to work?

Comments

Stuart Greenfield’s picture

Status: Active » Closed (duplicate)

See #432188: Multiple 1pixelout players in single page and stop the others.

Setting this thread as a duplicate as the linked thread starts to outline a solution so I'll use that to track.