• 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

#1
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!
 

rainmotorsports

Well-known member
#2
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.
 

rainmotorsports

Well-known member
#4
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.
 
#6
Looking at this - http://www.screencast.com/help/tutorial.aspx?id=367& Do you have a share option for videos as per "Embed on your page" under sharing your snapshot? Wanted to see if it gives anything different.
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>
 

Brogan

XenForo moderator
Staff member
#7
You will need to create a custom BB Code or media site and utilise the unique portion of the URL to embed each item.
 

rainmotorsports

Well-known member
#8
You will need to create a custom BB Code or media site and utilise the unique portion of the URL to embed each item.
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.
 
#10
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.
 

rainmotorsports

Well-known member
#11
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.