ProJam and Embed Audio

Dazed
Dazed
@dazed
11 years ago
1,022 posts
Douglas - If you get bored will you take a look at this and see what you get?

1. As an admin create a "news" blog so it posts to the index Latest News
2. In that blog add the uploaded image, 1 small line line of text like "check it out" and then use jrEmbed for 1 song
3. submit

Result - the index page loads a little slow and instead of the image displaying in the news slider, the song player displays instead. I added more text to the blog which helped and the image is displayed but I think the player is still trying to appear.

Thanks!

updated by @dazed: 09/18/14 06:37:35AM
douglas
@douglas
11 years ago
2,803 posts
I think it has to do with the truncate, its counting the code of the player and image as characters and probably truncating right after that... you may need to have more text at the top of your post.

I'm not sure there is a way to truncate a post with an image or embedded player at the top of the post without seeing this issue.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
11 years ago
7,793 posts
you could blacklist the jrEmbed module for that section.

|jrCore_format_string:$item.profile_quota_id:null:"jrEmbed"

"{jrCore_format_string}"
http://www.jamroom.net/the-jamroom-network/documentation/development/1437/jrcore-format-string

So this maybe:
{$item.blog_text|truncate:100:"...":false|jrCore_format_string:$item.profile_quota_id:false:"jrEmbed"|nl2br}