Support » Plugin: Cool Video Gallery » Mobile

  • Resolved liv_singer


    Hi, great plugin and thanks.

    I would like to modify the plugin so that if someone is viewing the site in a mobile browser, clicking a thumbnail triggers JWplayer fullscreen mode rather than fancybox.

    Something like if (usr agent is mobile) { js player fulls screen } else { fancybox it }

    I can see a likely code block to edit in inc/core.php (1604 – 1653). However, there seems to be an issue with replacing that file. Even attempting to overwrite that file with an identical, unmodified version of that file results in a server 500 error and breaks the site.

    Could you suggest a work around? Would it be possible to accomplish what I am trying to do indirectly, by editing cool-video-gallery.php?

    Thanks! And keep up the good work

  • The topic ‘Mobile’ is closed to new replies.