1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Need to embed screencast videos

Discussion in 'Troubleshooting and Problems' started by Linda Lee, May 9, 2014.

  1. Linda Lee

    Linda Lee Member

    I use screencast for all my teaching and training videos and that is what I am using my forum for.
    How can I embed screencast videos? I saw one other thread in 2010 ask this but there was no answer.
    Thanks!
     
  2. rainmotorsports

    rainmotorsports Well-Known Member

    Can you give me a link to a page with a public video to embed. Depending on how its done shouldn't be a problem but I am assuming it will only work for public videos whether your logged into their site or not.
     
  3. Linda Lee

    Linda Lee Member

    This is a paid membership WP support forum so all the threads are private. I am loading a ton of information ahead of time before I launch and use I use short videos for all my answers. Here is the link for one of the videos.
    http://www.screencast.com/t/78VhNMx9tlb2
    I have not made anything private yet for this on screencast.
     
  4. rainmotorsports

    rainmotorsports Well-Known Member

    Well the good news is for public its just an HTML 5 video tag:
    Code:
    <video><source src="http://content.screencast.com/users/askmepc-webdesign/folders/WPTT/media/869d0d72-2395-4989-a07e-6e0527ee6a3a/WordPress How to Empty Spam Folder and Spam Trash with one click.mp4" type="video/mp4">Your browser cannot play this video.</video>
    The bad news is probably that the url isn't a short media identifier we can pluck and insert later. Someone is probably better at this than me but Im gonna take a look for what its worth.

    As far as private videos go I am not sure, it really depends on how they authenticate, you would most definitely have to be logged into their site (and that login stay logged in) to view private.

    If 78VhNMx9tlb2 for example was the physical name of the video this would definitely be possible, etc.
     
  5. rainmotorsports

    rainmotorsports Well-Known Member

  6. Linda Lee

    Linda Lee Member

    Yes I thought you would be able to see that .
    This is the embed code.

    <!-- copy and paste. Modify height and width if desired. --><iframe class="tscplayer_inline embeddedObject" name="tsc_player" scrolling="no" frameborder="0" type="text/html" style="overflow:hidden;" src="http://www.screencast.com/users/ask...ia/869d0d72-2395-4989-a07e-6e0527ee6a3a/embed" height="631" width="1361" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to create a custom BB Code or media site and utilise the unique portion of the URL to embed each item.
     
  8. rainmotorsports

    rainmotorsports Well-Known Member

    Problem for her is the link and the video don't match up. The only way I see this working is if the BB Code Media Site is parsing the entire embed code rather than a short link.

    As you know all the existing ones happen to follow basically the same exact structure.
    Link would be -
    Code:
    youtube.com/watch?v=-SomEwQ6L_s
    Parsed via - youtube.com/watch?v={$id}
    Embed becomes:
    Code:
    <iframe width="500" height="300" src="//www.youtube.com/embed/-SomEwQ6L_s" frameborder="0" allowfullscreen></iframe>
    From:
    Code:
    <iframe width="500" height="300" src="https://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0" allowfullscreen></iframe>
    The link and the embed have the same ID, screencast doesn't. The only way I see it working is if

    This can be the parser:
    Code:
    <iframe class="tscplayer_inline embeddedObject" name="tsc_player" scrolling="no" frameborder="0" type="text/html" style="overflow:hidden;" src="[URL]http://www.screencast.com/users/{$id}[/URL]" height="631" width="1361" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    To become this:
    Code:
    [MEDIA=screencast]askmepc-webdesign/folders/WPTT/media/869d0d72-2395-4989-a07e-6e0527ee6a3a/embed[/MEDIA]
    To recreate this:
    Code:
    <iframe class="tscplayer_inline embeddedObject" name="tsc_player" scrolling="no" frameborder="0" type="text/html" style="overflow:hidden;" src="[URL]http://www.screencast.com/users/askmepc-webdesign/folders/WPTT/media/869d0d72-2395-4989-a07e-6e0527ee6a3a/embed[/URL]" height="631" width="1361" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    Can it handle parsing the full embed since the short link is 100% useless?

    You can't use just 869d0d72-2395-4989-a07e-6e0527ee6a3a because there is a username in the URL that needs to be parsed, as well as the folder etc.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    It could always be done as a callback.
     
  10. Linda Lee

    Linda Lee Member

    Ugh. I will be posting 100's of short videos so I need a fast solution. I am looking at Vimeo Pro.
    I like Screencast because it is so private and easy to manage, and I use Camtasia and Jing for everything. I have just started on fresh videos, since WordPress updated and everything looks so different. What do you think of Vimeo? I cannot find any good comparison reviews for the two of them. Screencast vs. Vimeo Pro.
    Is it easy to embed on Xenforo using the Vimeo format?
    Also thank you for this help-totally appreciate it.
     
  11. rainmotorsports

    rainmotorsports Well-Known Member

    Xenforo is setup out of the box for Vimeo for the follow url formats:
    vimeo.com/{$id:digits}
    vimeo.com/groups/*/videos/{$id:digits}

    You drop a basic link to a video and it embeds.
     
  12. Linda Lee

    Linda Lee Member

    Signed up for Vimeo Plus and it works like a charm. Most of my years of Screencast videos are outdated now anyway.
     
    wedgar likes this.

Share This Page