Support » Plugin: Link To Bible » YouTube URL video confused for verses

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author thomask777

    (@thomask777)

    You can mark any text with the css-class ‘nolink’ to avoid linking it to bibleserver.com.

    E.g. Your text.

    To disable the linking of a whole post, just add the metadata ‘LTB_DISABLE’ to the post.

    Thank you @thomask777. Probably your example was formatted, and I can’t see the logic.

    Typically I simply paste the YouTube link into the post and WP interprets that as a YouTube video that can be played from within the post page.

    Should I wrap that in a DIV container? E.g.
    <div class="nolink">https://www.youtube.com/watch?v=GA7MlL0h1go</div>

    Plugin Author thomask777

    (@thomask777)

    Yes, something like this should work:

    <div class="nolink">
    <a class="nolink" href="https://www.youtube.com/watch?v=GA7MlL0h1go">Youtube Video https://www.youtube.com/watch?v=GA7MlL0h1go</a>
    </div>

    But I just tried it, and I got the same problem with the substitution of ‘GA7’ as you.

    I will contact the guys at bibleserver.com, who wrote the engine for parsing and substituting the links. May be they can help.

    Plugin Author thomask777

    (@thomask777)

    If you do not need the link itself printed as a text, you can do something like this:

    <a class="nolink" href="https://www.youtube.com/watch?v=GA7MlL0h1go">Youtube Video</a>

    That works for me.

    Ah I see, but that’s not parsing the video into the post so people would have to click on the link to get to the Video on YouTube. Thanks anyway.

    Plugin Author thomask777

    (@thomask777)

    Okay. I see. You want to embed the video in the post. (So the video is part of your post.)

    I cannot handle that today without getting the ‘GA7’ problem, you have described before.

    From my point of view, the only current option is to disable the linking for the whole post. Just add the metadata ‘LTB_DISABLE’ to the post, then the link-to-bible plugin is disabled for the whole post.

    I have contacted bibleserver.com. Maybe they have a better idea.

    Sorry for any inconveniences.

    Plugin Author thomask777

    (@thomask777)

    The guys at bibleserver.com have improved the parser. So now you can do something like

    <a class="nolink" href="https://www.youtube.com/watch?v=GA7MlL0h1go">Youtube Video https://www.youtube.com/watch?v=GA7MlL0h1go</a>

    Unfortunately embedding Youtube videos will still result in the above mentioned problems. I have asked them, if it is possible to ignore URLs while parsing for bible references.

    • This reply was modified 3 years, 8 months ago by thomask777.

    Thanks for your effort Thomas.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘YouTube URL video confused for verses’ is closed to new replies.