site configuration - click to play condition

I am writing a plugin to stream videos from an Indian Movie site. The movies are hosted on videobb.com. I was able to stream the movie using webcvideoitem and site configuration. However, the video does not start playing unless I hit the play button. There is a Play button in the middle of the screen which need to be clicked to start playing video. I am not sure how to click on the button using site configuration. Also there is a seperate button for full screen mode without which plex is not able to display the video in full screen. Any help on how to code site configuration to make it work will be greatly appreciated.

I would suggest having the site config load initially in a loading or click-to-play state. The name isn’t really important, define it as whatever you like. Then in the definition of that state, you can use the condition to check that the flash frame is loaded. Once it loads, you can execute a mouse click at the coordinates representing the middle of the player before moving to the “playing” state.



In regards to the “need” to have the player in full-screen mode… Plex should be able to display the video full-screen just fine as long as the cropping is set properly in the site config. The video quality may be better if the player is set to full-screen but, tbh I’m not quite sure how well that would work.



-edit-



For further info, check out the developer documentation about site configs, here.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.