Thanks for bringing this to my attention. I think it’s caused by a user role on the site that has no capabilities assigned to it which I hadn’t anticipated. I’ll fix it in the next version of the plugin, which will be released pretty soon. If you want to do it yourself, change line 224 from
if ( array_key_exists('upload_files', $role_info['capabilities']) && $role_info['capabilities']['upload_files'] == 1 ) {
to
if ( is_array($role_info['capabilities']) && array_key_exists($capability, $role_info['capabilities']) && $role_info['capabilities'][$capability] == 1 ) {
Thank`s for answer Kyle, i have change this but i have a next error:
Parse error: syntax error, unexpected T_ELSE in /home/dubaipor/public_html/wp-content/plugins/video-embed-thumbnail-generator/video-embed-thumbnail-generator.php on line 227
Sounds like there’s a typo in your change somewhere. It might be a missing { or an extra one. I’ve verified that what I posted works. If you can’t find the problem, copy and paste a few lines from that area of the code so I can debug it. Make sure you put the code between backticks.
Hi, Kyle. Please i need a just one help.
Please tell me how is possible to maike video player, with this plugin i don`t know wher i need to put this my code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="480" height="385">
<param name="movie" value="http://92.55.68.1:86/nchplayer.swf?host=92.55.68.1:1935&scope=BroadCam&streamName=live&bandwidth=1&src=1&autostart=true&redirect=&textOnOver=">
<param name="allowfullscreen" value="true">
<param name="quality" value="high">
<embed src="http://92.55.68.1:86/nchplayer.swf?host=92.55.68.1:1935&scope=BroadCam&streamName=live&bandwidth=1&src=1&autostart=true&redirect=&textOnOver=" width="480" height="385" allowfullscreen="true" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"/>
</object>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
This is first time for me. Tjhank’s.
My plugin uses a shortcode to embed HTML5 videos. Whatever you’re doing with that object code is not going to work with this plugin.
Hi, Kyle. this is my streaming link : http://92.55.68.1:86/live.html?src=1.
Is possible to use with your plugin.
Thank`s
You don’t need a plugin for that. Just paste your code in the “text” tab in the post edit window and it should work fine.