Triggering an Event Inside a Custom ViewCell

hjavaher1hjavaher1 USMember ✭✭

I'm trying to trigger the play event of a VideoPlayer Plugin ( which is inside a Custom ViewCell of a ListView. Unfortunately I can't find any information on how to do this.

My page will display images and videos in the listview and if it's video, I need to click the play button (in the same viewcell) in order to play it. Also, I'm toying with the idea of utilizing the ItemAppearing and ItemDisapppearing Events to trigger this play event. Any Ideas on how I can achieve this?

Thanks in advance for any help!

Best Answer


  • hjavaher1hjavaher1 USMember ✭✭

    or alternatively, can I pass the video player plugin (control) to the button command as the parameter? if that makes any sense! that way when a user clicks the play button, I can get the reference to the correct video player and raise the play event.

  • hjavaher1hjavaher1 USMember ✭✭


  • hjavaher1hjavaher1 USMember ✭✭

    Thank you very much ColeX. Worked like a charm

Sign In or Register to comment.