flimshaw / flimshaw/Valiant360

How to call plugin functions

Open
#25 2 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
JavaScript
Stars
780
Forks
151
PR merge metrics
No merged PRs in 30d

Description

First of all - Great work by the devs. The plugin is awesome and I want to extend it for a small project I'm taking up. What I ultimately want to achive is play multiple videos in WebGl rendering so that I can control the x,y coordinates of all simultaneously. So the mouseover of any valiantcontainer should update the x,y of all other valiant containers appropriately.

For that, I was just fiddling around with the code but I am not able to get a handle on the plugin object where I can call all the functions that you've defined in `Plugin.protoype`. I tried `$('.valiantPhoto').Valiant360().pause()` and even `$('.valiantPhoto').Valiant360('pause')` mentioned in the README but both seem to fail.

My question is how do I get a handle on the Valiant360 object which exposes those functions to me. I'd ulitmately want to over-ride the mouse-over functionality for it. Any help is deeply appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.