Title: Adding undefined shortcode parameters
Last modified: August 21, 2016

---

# Adding undefined shortcode parameters

 *  Resolved [adka89](https://wordpress.org/support/users/adka89/)
 * (@adka89)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/)
 * I’m still starting out and experimenting with my sites so forgive me if I appear
   ignorant. I’ve been trying out this plugin and must say that it’s really a good
   aio plugin for my constant video postings.
 * I notice the plugin uses a custom wrapper “KGVID” for playing the uploaded videos.
   I’m having issues using “seek” on my mp4 videos with my flash player. From what
   I’ve tried, adding a “startparam” shortcode resolves the issue. Is there any 
   way I can embed this code within the “KGVID” wrapper.
 * I’m using JW Player currently, but also trying out video.js. Will later on pick
   one that gives me less headache. Thanks in advance for your time and help!
 * [https://wordpress.org/plugins/video-embed-thumbnail-generator/](https://wordpress.org/plugins/video-embed-thumbnail-generator/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5082907)
 * I see. This appears to be a JW Player-specific attribute. I’ll see if I can just
   pass any JW Player parameters over to the JW Player plugin. I created an issue
   for it on Github. [https://github.com/kylegilman/video-embed-thumbnail-generator/issues/153](https://github.com/kylegilman/video-embed-thumbnail-generator/issues/153)
 * Video.js hasn’t implemented pseudo-streaming for Flash yet and MediaElement.js
   supports it in a different way. It also should only matter when the Flash player
   is loaded, which at this point is essentially limited to Firefox on Macs. Are
   you having problems with mp4s in other configurations?
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5082926)
 * That was easier to implement than I thought it would be. If you add a `startparam`
   to the KGVID shortcode it should work with JW Player in the next plugin update.
 *  Thread Starter [adka89](https://wordpress.org/support/users/adka89/)
 * (@adka89)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5082934)
 * Just pulled the “video-embed-thumbnail-generator.php” off your open source version
   and tested it. Nicely done man, my mp4 playback and seek fine now. That was quick!
   Much thanks for this.
 * Any ETA on the stable plugin update, or do you recommend we follow your dev releases?
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083040)
 * If you’re going to use the Github version, make sure you grab the rest of the
   files or there could be some unusual behavior. The update should be released 
   through the WordPress repository within the next couple days. I’m just waiting
   on some new translations.
 *  Thread Starter [adka89](https://wordpress.org/support/users/adka89/)
 * (@adka89)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083105)
 * Hi again, so far the jw player shortcodes work like a charm. But I found out 
   that the embedded videos (in iframes) do not have the same attributes passed 
   to them. So, my embedded mp4 videos is not able to pseudo-stream. Any way to 
   get them to work in the embed players as well? Thanks.
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083156)
 * Mmm. Yes, but that won’t be as simple. I don’t think I can get that in the next
   update.
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083157)
 * And can you verify that you’re only having this problem with Firefox on Mac OS?
   It really shouldn’t be an issue for anyone else unless you’re using FLVs.
 *  Thread Starter [adka89](https://wordpress.org/support/users/adka89/)
 * (@adka89)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083167)
 * > Mmm. Yes, but that won’t be as simple. I don’t think I can get that in the 
   > next update.
 * Thanks, in the meantime found a workaround though by adding the attribute as 
   a default.
 * > And can you verify that you’re only having this problem with Firefox on Mac
   > OS? It really shouldn’t be an issue for anyone else unless you’re using FLVs.
 * Actually, I was facing the pseudo-streaming issue (on JWPlayer flash players)
   in Windows using Chrome, but replicated the problem in IE and Firefox as well.
   Encoded videos were MP4 files with faststart.
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083168)
 * Are you setting JW Player to use Flash as its default rendering mode? I definitely
   recommend setting it to HTML5 unless you have a specific reason not to.
 * Did you edit the plugin code to add the psuedo-streaming attribute as a default
   or did you do it some other way?
 *  Thread Starter [adka89](https://wordpress.org/support/users/adka89/)
 * (@adka89)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083169)
 * I’m using Flash at the moment. I’m considering HTML5 but I hate those custom 
   context menu that JWPlayer offers. At least for the Flash one, I can disable 
   right click.
 * Yes, I only added the “startparam” attribute into the plugin code (jw_shortcode)
   since that’s the only extra shortcode that I needed to work on the player and
   iframe embeds for now.
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083175)
 * I didn’t notice that custom context menu in the HTML5 mode. The [development version on Github](https://github.com/kylegilman/video-embed-thumbnail-generator)
   disables it now if you’ve disabled right-clicking in my plugin’s settings page.
 *  Thread Starter [adka89](https://wordpress.org/support/users/adka89/)
 * (@adka89)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083180)
 * Just tried it, seems to be working fine. Context menu for the HTML5 player is
   disabled on this one. Thanks a bunch for your support!
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083191)
 * The version on Github now has an option to set arbitrary custom attributes for
   all videos in the settings page. That should solve the problem of embedded videos
   not having startparam settings.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Adding undefined shortcode parameters’ is closed to new replies.

 * ![](https://ps.w.org/video-embed-thumbnail-generator/assets/icon.svg?rev=2965979)
 * [Videopack](https://wordpress.org/plugins/video-embed-thumbnail-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-embed-thumbnail-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/reviews/)

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [video](https://wordpress.org/support/topic-tag/video/)

 * 13 replies
 * 2 participants
 * Last reply from: [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/adding-undefined-shortcode-parameters/#post-5083191)
 * Status: resolved