solved Embed Audio

Dazed
Dazed
@dazed
11 years ago
1,022 posts
Is there a way to ended all audio into a blog? I tried some variations of the below with no luck.

ex.

I also have a custom (mostly non-working) swf player from Nate that I am not able to embed into a blog. I have added all of the possible html tags into the admin approved tags but I think the urlscan might be toying with it. I thought I would see if the jrEmbed worked instead.
updated by @dazed: 08/03/14 01:59:47AM
paul
@paul
11 years ago
4,335 posts
The jrEmbed module should allow you to embed jrAudio (and jrVideo/jrGallery/jrFile etc.) items into a blog (and any other editor field).
There are functions in the modules to enable this, so if Nate's module includes these, that player should be embedable as well.
hth
Pa


--
Paul Asher - JR Developer and System Import Specialist
Dazed
Dazed
@dazed
11 years ago
1,022 posts
Thanks Paul - Is there a way to use jrEmbed on all audio by an artist? I have only seen individual song.

Below is the code from the swf embed and I think I have added every tag possible at the admin level. I am not sure what could be missing. When added to a blog, it just deletes upon saving.

allowed html:
span,img,br,b,i,p,u,a,center,object,param,embed,font,pre,link,html,head
,body,td,tr,meta,table,link,rel,iframe,li,h1,h2,h3,ul,strong,class,name
,em,&,flashvars,block,hr,div,ol,em,a,div,hr,pre,align,src,width,height,type,id,name,data,value, src




 <object width="100%" align="middle" height="100%"
 type="application/x-shockwave-flash" id="n8MP3Player"
 name="n8MP3Player"
 data="http://www.mixposure.com/modules/n8MP3Player/swf/n8MP3Player.swf"
 > <param name="quality" value="high"> <param name="bgcolor"
 value="#ffffff"> <param name="allowscriptaccess" value="always"> <param
 name="allowfullscreen" value="false"> <param name="flashvars"
 value="profile_id=169360&base_url=http://www.mixposure.com&system_name=
 mixposure.com"> <embed
 src="http://www.mixposure.com/modules/n8MP3Player/swf/n8MP3Player.swf"
 flashvars="profile_id=169360&order_by=_created_desc&base_url=http://www
 .mixposure.com&system_name=mixposure.com" width="100%" height="100%">
 </object>
paul
@paul
11 years ago
4,335 posts
jrEmbed will also embed playlists, so if a playlist is made of all an artist's tracks you can do that.

Try temporarily disabling the jrUrlScan module to see if that is interfering with your embed code.


--
Paul Asher - JR Developer and System Import Specialist
michael
@michael
11 years ago
7,772 posts
Dazed:...Is there a way to use jrEmbed on all audio by an artist?...

Not into a blog post, no. Other than what Paul suggested, make a playlist of all the audio.

Whats the goal?

BLOG:"This weeks blog post, all our audio files of all time".

Doesn't leave much for next week's blog post.
Dazed
Dazed
@dazed
11 years ago
1,022 posts
Thanks Guys. Micheal - By Artist not Site lol. We do an Artist of the Month so it was always nice in JR4 that I could add a player with all of their songs in a blog. The same is true for an individual song. As an admin I do not want to have to create a playlist for everything I post in a blog. That is just added steps that should not be necessary. That is why I was hoping I could use jrEmbed for all songs from an artist.

Paul I disabled the module and it had no effect. When I create a blog and add the embed code from a few posts up via html button, the flash yellow screen is visible in the preview mode. As soon as I click submit it just erases all of the code.

Thoughts?
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
How about a custom form designer field on the blog post (visible to admin only). Custom field accepts an artist id.

Then, if the field contains an id, include a template above/below/alongside the blog post with a jrCore_list of all songs (or vids/photos/gigs/etc). Could be more of a featured mini profile alongside the blog post rather than a list of songs.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 07/02/14 05:11:22AM
Dazed
Dazed
@dazed
11 years ago
1,022 posts
Sounds cool Steve. Maybe have a checkbox for what to include/exclude.

By the way, I think I just saw you put together a communications app with chat? I wish I would have known about that last month before I purchased cometchat. Nice work on it.
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
ujTogether isn't strictly a chat module, more collaboration, so cometchat is probably more suitable. It's been up there for quite a while now.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
Dazed
Dazed
@dazed
11 years ago
1,022 posts
I completely missed it! That is dd also because I always read the latest info emails.
michael
@michael
11 years ago
7,772 posts
jrEmbed is plugable, so you could make a module that adds a tab to jrEmbed that had a list of profiles, then make that addable via jrEmbed.

If you think it should be part of the jrAudio module, make a screenshot of what you think the interface in the popup embed window should look like so I can understand.
Dazed
Dazed
@dazed
11 years ago
1,022 posts
what I was looking for was something like this. I just realized I forgot to wrap this in code tags on my first post. Maybe an artist would like it so we could add it to the embed section at the top above their songs but I am looking for this just for the admin.



[ jrEmbed module="jrAudio" profileid="#" ] 
vs

[ jrEmbed module="jrAudio" id="#" ] 

updated by @dazed: 07/02/14 07:42:05PM
michael
@michael
11 years ago
7,772 posts
I've added this in to the latest update of the jrAudio module.

There is no interface for it because I cant see how to make that logical. If you have an idea for the interface in the popup, by all means, let me know.

Now you can change the embed code to this:
[ jrEmbed module="jrAudio" profile_id="#" ]
to show that profiles songs. (limit of 100)
updated by @michael: 07/03/14 02:27:54AM
Dazed
Dazed
@dazed
11 years ago
1,022 posts
Awesome. Thanks Michael!