(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.
Perhaps the fact that when wrapped in [url] it works, but when not, it fails, could suggest something?
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