Support » Plugin: Add Admin JavaScript » Add Video Javascript for Screencast-o-matic into WordPress Posts

  • Resolved tosten

    (@tosten)


    Hi Scott,

    Probably a special project. I’m using a video recorder and I want to embed it into the Admin area of WordPress so people can screen record from inside WordPress. I’ve seen this on another site, but can’t seem to figure out how to do it! The javascript i was provided works if i create a post and list it as code, but when added to the <head> area of WordPress it doesn’t seem to do anything. Suggestions – not sure if you’re “for hire” for special projects or not.

    Here is the code I was provided:

    <script type=”text/javascript” id=”som_recorder_cYV0cObM” src=”//screencast-o-matic.com/api/som.js”></script><script type=”text/javascript”>SOM.Recorder({id: “cYV0cObM”}).embed();</script>

Viewing 1 replies (of 1 total)
  • Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    @tosten: Hi,

    Yes, currently I’m not available for hire. But I can try to help and see if what you want to accomplish is doable.

    At first glance, this particular workflow appears to fall outside of what the plugin supports. While the plugin allows you to specify a remote JavaScript file to include (e.g. //screencast-o-matic.com/api/som.js via the “Admin JavaScript Files” setting), and while it supports adding the initializing code (e.g. SOM.Recorder({id: “cYV0cObM”}).embed(); via the “Admin JavaScript (in footer)” setting), the plugin does not support adding the “id” attribute to the first <script> tag, which is no doubt needed.

    Not being familiar with the JavaScript you are looking to embed, I can’t say if the specific code that you’re trying to use would even work if supplied in the <head> or footer of a page. It might need to be wholly embedded within the body of the page.

    Unfortunately, when it comes down to it, I don’t think this plugin will be able to help with implementing this particular snippet.

Viewing 1 replies (of 1 total)
  • The topic ‘Add Video Javascript for Screencast-o-matic into WordPress Posts’ is closed to new replies.