solved embed issues

izhmel
@izhmel
9 years ago
1,323 posts
http://www.dubmusic.com/mixed-by-the-scientist-studio-637/page/62/mixed-by-the-scientist-studio-637


--
The Scientist
dubmusic.com
Thanks for any assistance.

updated by @izhmel: 03/03/16 03:15:55PM
douglas
@douglas
9 years ago
2,790 posts
Are you using the latest versions of the Audio, Video and Playlist modules?

Are you running the Core 5.3 beta?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
brian
@brian
9 years ago
10,148 posts

More info is always helpful.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
izhmel
@izhmel
9 years ago
1,323 posts
Everything was working until I ran updates and I try to embed media ...


--
The Scientist
dubmusic.com
Thanks for any assistance.

updated by @izhmel: 11/14/15 04:18:26PM
douglas
@douglas
9 years ago
2,790 posts
Make sure you've updated to the latest Audio, Playlist and Video modules.

That issue has been fixed in those versions.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
izhmel
@izhmel
9 years ago
1,323 posts
I updated all modules and still have this issue ....


--
The Scientist
dubmusic.com
Thanks for any assistance.
izhmel
@izhmel
9 years ago
1,323 posts
I updated all the modules and still have the issue when I embed local media

http://www.dubmusic.com/the-scientist/page/60/studio367


--
The Scientist
dubmusic.com
Thanks for any assistance.
douglas
@douglas
9 years ago
2,790 posts
Without admin access and FTP access, there isn't much we can do. Send it to support[at]jamroom[dot]net and I'll take a look at it for you.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
izhmel
@izhmel
9 years ago
1,323 posts
why do I get the error when I embed media ? this happened after I ran updates


{jrCore_media_player} invalid value received for "type" parameter



{jrCore_media_player} invalid value received for "type" parameter



http://www.dubmusic.com/the-scientist/page/60/studio367


--
The Scientist
dubmusic.com
Thanks for any assistance.
brian
@brian
9 years ago
10,148 posts
This error means the "type" parameter that was received is NOT valid for the {jrCore_media_player} call, meaning the VALUE is not either empty OR it is a player that is not installed on your system.

When you say "embed" are you:

- clicking on the "embedded media" button in the EDITOR?
- are you just entering a URL so the Media URL scanner will pick it up?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
izhmel
@izhmel
9 years ago
1,323 posts
when I click on the "embedded media" button in the EDITOR is what generates the error


--
The Scientist
dubmusic.com
Thanks for any assistance.
brian
@brian
9 years ago
10,148 posts
izhmel:
when I click on the "embedded media" button in the EDITOR is what generates the error

I've just tested here and it is all working. Have you customized the "item_embed.tpl" file in the Audio => Templates area?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
9 years ago
7,715 posts
Try changing the player an see if that fixes it:
ACP -> SKINS -> (YOUR SKIN) -> GLOBAL CONFIG -> PLAYERS -> PLAYER TYPE
izhmel
@izhmel
9 years ago
1,323 posts
I am using the Nove skin and don't see -> PLAYER TYPE


--
The Scientist
dubmusic.com
Thanks for any assistance.
paul
@paul
9 years ago
4,326 posts
In Nova this option is under the 'Radio and TV' section.


--
Paul Asher - JR Developer and System Import Specialist
douglas
@douglas
9 years ago
2,790 posts
izhmel:
I am using the Nove skin and don't see -> PLAYER TYPE

I don't believe that has been released yet but will be soon.

However... since your using a clone of the Nova skin you will not see that setting in your skin config unless you update your cloned skin confg.php file.

Regardless of the skin config settings, you should not be seeing that message if your running the latest version of the audio module.

If you can send us your admin login, we can check it out for you.

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
izhmel
@izhmel
9 years ago
1,323 posts
It works with the elastic skin and was working fine until I ran updates.
So there has to be something in the updates causing this issue with the Nova skin ..


--
The Scientist
dubmusic.com
Thanks for any assistance.
douglas
@douglas
9 years ago
2,790 posts
There hasn't been any updates to the Nova skin since 5.3beta has been out, yet.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
izhmel
@izhmel
9 years ago
1,323 posts
I can embed video but when I try to embed audio I get errors using the Nova skin

http://www.dubmusic.com/the-scientist/page/64/1


--
The Scientist
dubmusic.com
Thanks for any assistance.
izhmel
@izhmel
9 years ago
1,323 posts
I am still having audio embed issues


--
The Scientist
dubmusic.com
Thanks for any assistance.
izhmel
@izhmel
9 years ago
1,323 posts
http://www.dubmusic.com/thescientist/page/64/1


--
The Scientist
dubmusic.com
Thanks for any assistance.
douglas
@douglas
9 years ago
2,790 posts
Without the admin login, there isn't much we can do except guess at what the issue might be.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
9 years ago
7,715 posts
My guess is the same as it was before:

Try changing the player an see if that fixes it:
ACP -> SKINS -> NOVA -> GLOBAL CONFIG -> RADIO AND TV -> PLAYER TYPE -> Save Change
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
Guys the setting isn't there for the Nova skin, it has yet to be added.

Open your skins config.php file

Add the following at the bottom, just before

return true;

    // Player Type
    $_ptype = array(
        'blue_monday'          => 'Blue Monday Player',
        'gray_overlay_player'  => 'Gray Overlay Player',
        'player_dark'          => 'Midnight Player',
        'black_overlay_player' => 'Black Overlay Player',
    );
    $_tmp   = array(
        'name'    => 'player_type',
        'label'   => 'Player Type',
        'help'    => 'Select the type of player you want to use on your site.Original = Blue Monday New = New Light Player',
        'type'    => 'select',
        'options' => $_ptype,
        'default' => 'black_overlay_player',
        'order'   => 49,
        'section' => 'Radio And TV'
    );
    jrCore_register_setting('jrNova', $_tmp);

You will want to pay attention to the order no, change as required and change jrNova to the name of your skin.

Now once you have done that, do an integrity check and the setting should now be located in the Radio and TV tab of Nova's skin settings.
douglas
@douglas
9 years ago
2,790 posts
You don't need the skin setting at all since the audio modules embed template checks for the skin setting and if it doesn't have one it is set to a default player type.

If your modules are up to date, and your running the latest beta version of the Jamroom core, then check your ACP > Profiles > Audio > Templates and make sure you haven't modified the item_embed.tpl. If you have you'll want to reset it to its default state.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
When I enabled Nova I was seeing the exact same issue as above, adding the option to the skin solved it.

I am also seeing {jrCore_media_player} invalid value received for "type" parameter in jrNingja. Guessing it must be the custom music profile page in jrNingja that's at fault here.

Everything is upto date on the beta channel.
douglas
@douglas
9 years ago
2,790 posts
I'm not sure why your seeing the issue, I can't replicate it on my end, but it isn't a skin issue since the modifications were made in the Audio, Playlist and Video module templates.

The skin config setting was added to allow the site admin to choose between players, if the module template does not see a skin setting, then it uses a default type.

Something else is causing the issue and without access to a site that this is happening on, I can only guess at what the issue might be.

You might try reloading the Audio, Playlist and Video modules, ACP > Marketplace > Tools > Reload Modules And Skins, then run the Integrity Check tool and reset your caches.

Also make sure your not using a modified item_embed.tpl in your ACP > Profiles > Audio > Templates section.

Hope this helps.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
izhmel
@izhmel
9 years ago
1,323 posts
its a skin issue. it works with the elastic skin


--
The Scientist
dubmusic.com
Thanks for any assistance.
douglas
@douglas
9 years ago
2,790 posts
gary.moncrieff:
I am also seeing {jrCore_media_player} invalid value received for "type" parameter in jrNingja. Guessing it must be the custom music profile page in jrNingja that's at fault here.



This was due to a release of the jrNingja skin that did not have the correct config.php file. I have updated the marketplace with a fix for this.

izhmel:
its a skin issue. it works with the elastic skin

You'll need to send me your admin login so I can check it out.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
izhmel
@izhmel
9 years ago
1,323 posts
I sent it

Thanks


--
The Scientist
dubmusic.com
Thanks for any assistance.
michael
@michael
9 years ago
7,715 posts
We understand what the issue is now, there will be a fix for it in an upcoming release.

Thanks.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Can you tell me which template was changed/updated in the new Ningja skin, so that i can find it and apply the change to my custom Ningja skin please?

(update says: -Fix: Fixed skin config where players were not being set to the correct type.)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/02/15 08:35:37PM
michael
@michael
9 years ago
7,715 posts
Strumelia:....Can you tell me which template was changed/updated in the new Ningja skin.......update says: -Fix: Fixed skin config ....

It was the config.php file. so nothing you need to do. no templates were effected.
douglas
@douglas
9 years ago
2,790 posts

This has been fixed in the latest Audio module and on your site izhmel.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
izhmel
@izhmel
9 years ago
1,323 posts
Thanks Douglas it works now


--
The Scientist
dubmusic.com
Thanks for any assistance.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
michael:
It was the config.php file. so nothing you need to do. no templates were effected.

Ok, but now there's another Ningja skin update.
The two updates since yesterday were:
Version 1.1.6
-Fix: Fixed profile_item files skin config variables.
Version 1.1.5
-Fix: Fixed skin config where players were not being set to the correct type.

Does this mean these updates to "config.php" file have automatically been applied to my CUSTOM/active skin? I'm not understanding how that works...shouldn't I be doing something to get my custom skin updated with these two fixes? Thanks for explaining to me...


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
douglas
@douglas
9 years ago
2,790 posts
Strumelia:
michael:
It was the config.php file. so nothing you need to do. no templates were effected.

Ok, but now there's another Ningja skin update.
The two updates since yesterday were:
Version 1.1.6
-Fix: Fixed profile_item files skin config variables.
Version 1.1.5
-Fix: Fixed skin config where players were not being set to the correct type.

Does this mean these updates to "config.php" file have automatically been applied to my CUSTOM/active skin? I'm not understanding how that works...shouldn't I be doing something to get my custom skin updated with these two fixes? Thanks for explaining to me...

The profile_item_index.tpl, profile_item_list.tpl, profile_item_detail.tpl and config.php files were the files modified for both of those updates.

In your profile_item_*.tpl files, make sure that your version has the correct skin name in the if statement... ie.

{if $profile_disable_sidebar != 1  && strpos($current_url, $_conf.jrNingja_forum_profile) !== 0}

has your skin name and not something else.

The config.php file had the wrong values for the player settings. It is at the bottom of the file. You should have this for the Player Type selection:

    // Player Type
    $_ptype = array(
        'blue_monday'          => 'Blue Monday Player',
        'gray_overlay_player'  => 'Gray Overlay Player',
        'player_dark'          => 'Midnight Player',
        'black_overlay_player' => 'Black Overlay Player',
    );
    $_tmp   = array(
        'name'    => 'player_type',
        'label'   => 'Player Type',
        'help'    => 'Select the type of player you want to use on your site.Original = Blue Monday New = New Light Player',
        'type'    => 'select',
        'options' => $_ptype,
        'default' => 'black_overlay_player',
        'order'   => 60,
        'section' => 'Players'
    );
    jrCore_register_setting('YOURSKINNAME', $_tmp);

make sure to change YOURSKINNAME to the name of the skin your using.

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
OK Douglas thanks! I will get working on this.
I'm assuming you mean the config.php file that in the Ningja and in my custom SKINS, not the ones in the various modules.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
douglas
@douglas
9 years ago
2,790 posts
Strumelia:
OK Douglas thanks! I will get working on this.
I'm assuming you mean the config.php file that in the Ningja and in my custom SKINS, not the ones in the various modules.

Yes, the skin not the modules.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Douglas, I updated the three skin templates as you suggested.

But: my config.php for my custom ningja skin doesn't even HAVE the section for 'Player Type'- just has the section for 'Player Auto Play'.

-Should I add this 'Player Type' section in, before the 'Player Auto Play' part? Or should I just leave it alone without that section included?




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/03/15 07:50:31PM
michael
@michael
9 years ago
7,715 posts
Strumelia:...But: my config.php for my custom ningja skin doesn't even HAVE the section for 'Player Type'....Should I add this 'Player Type' section in....

Yep, that addition was the update. Compare where it is against the new one that came in in the latest update if you want to position it the same, otherwise wherever is fine above/below.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ok will do -- thanks so much! :)

Done. :)



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/04/15 12:12:53PM

Tags