MyBB Community Forums

Full Version: AutoMedia 4.1.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2015-03-02, 10:21 PM)Maechlis Wrote: [ -> ]Any youtube link, e.g.:





[amoff]http://www.youtube.com/watch?v=55AasOJZzDE[/amoff]

Looks like the MyCode is not parsed for some reason.

Hm...really strange. Works for me.

If I put the link between the amoff tags


[amoff]http://www.youtube.com/watch?v=55AasOJZzDE[/amoff]

only the link is displayed in the post.

Without the amoff tags

http://www.youtube.com/watch?v=55AasOJZzDE
the embedded video is displayed.
I really don't know why it's not working this way for you.   Confused
Perhaps the fact that when wrapped in [url] it works, but when not, it fails, could suggest something?
It could - but it doesn't yet. It still works both ways for me:

http://i.imgur.com/UkLJ9bT.png

http://i.imgur.com/2MiPG5n.png
Here's what I have for the [amoff] MyCode:

Regex:

\[amoff\](http://)(.*?)\[/amoff\]

Replacement:

<a href="http://$2" target="_blank">http://$2</a>

Parse order: 0

Is that correct?
As replacement try:

<a class="amoff" href="http://$2" id="am" target="_blank">http://$2</a>

class="amoff" and id="am" are both needed (in this order) to disable the embedding.
what about embedding scribd.com?

thanks, looks to be iframe

ok, so how do i use the modular structure
This way it seem to work. I did not add those elements to any CSS of my theme though. (Don't know if that's required).

Thank you.
ok I am gonna try to make it pick up the .jpg|.jpeg|.png|.gif

how do i call the switch?

And secondly how do i make it ignore all the img tags?
(2014-10-20, 12:28 PM)doylecc Wrote: [ -> ]
(2014-10-15, 10:31 AM)Gobee129 Wrote: [ -> ]Whenever I post a Soundcloud link, it says the track is not available, even tho on soundcloud.com it works perfectly.

I took the example link of the automedia soundcloud code: http://soundcloud.com/skreamizm/skream-f...unk-teaser

The embedding of the video fails. Tested it with other soundcloud links as well. 

Anybody got the same problem and/or a solution for that?

Thx

Please try the attached file with the new soundcloud embed code. (Upload it into inc/plugins/automedia/sites)

I've just started working on AutoMedia 3 which will utilize the oEmbed API, so the embed codes should stay up to date automatically.

Same problem again. Soundcloud doesnt work aynmore these days with Automedia 2.2 on MyBB 1.6

Any solutions Smile
I've just tested several SoundCloud links with MyBB 1.6 and Automedia 2.2 and they all worked after I put the attached file from this post
http://community.mybb.com/thread-55969-p...pid1111651
into the inc/plugins/automedia/sites folder.