solved How Do I Get This Video Embed Script To Work?

derrickhand300
@derrickhand300
10 years ago
1,353 posts
<script type="text/javascript" src="http://video.foxnews.com/v/embed.js?id=4413578946001&w=466&h=263"></script><noscript>Watch the latest video at <a href="http://video.foxnews.com">video.foxnews.com</a></noscript>

I just purchased the URL Scanner hoping it would fix all the problems i have trying to get an offsite video to play on my site ( FRUSTRATING) I have "allowed the domain" in system core- in fact i have ALLOWED ALL DOMAINS...I have allowed/added "script" to the allowed html tags for admin and I have added the iframe control module (just in case)

Do I also need to add 'embed" to the allowed html tags?...I am at a loss...really frustrating
updated by @derrickhand300: 09/14/15 01:48:50AM
derrickhand300
@derrickhand300
10 years ago
1,353 posts
I have also tried the url scanner by adding this code
http://video.foxnews.com/v/4413578946001
still no luck....seems like it shgould be easier to add a video that has a script that allows it to be added to websites all over the internet?
michael
@michael
10 years ago
7,800 posts
Its difficult because the examples of malicious code generally contain:

A: the script tag
B: an iframe

http://aw-snap.info/articles/js-examples.php

You could put the iframe in directly:
http://video.foxnews.com/v/video-embed.html?video_id=4413578946001&loc=president&ref=obama
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Thanks...I dont understand why MY website is so limiting what I can do with it. I ONLY have the iframe and embed allowed for the ADMIN to use....its only available to me and I feel I SHOULD BE the one to decide what risks I take with MY website.

I am comfortable with embedding videos from the FOX news site or CNN or whatever without worry that FOX wants to hack my website.

If Jamroom is so intent on PROTECTING ME against myself why not deny root access altogether...then we could call it Ning?

I'm just saying I don't like things that I PURCHASE protecting me FROM MYSELF which is why I hate Microsoft and Internet Explorer

as for adding the iframe directly-I dont know how to do that using the script they provide so i will go back to wasting time by purchasing/using software to rip the video from the website where it is played- then convert it- then upload it you youtube- then embed it in my website, so that I can spend an hour or so each time I want to add a video that other websites all are allowed to embed with a single line of code in seconds..

I am sure you can sense my frustration because the issue remains that I WANT TO BE THE PERSON that decides what is and is not allowed on MY website

Thanks Michael
updated by @derrickhand300: 08/12/15 04:49:25AM
douglas
@douglas
10 years ago
2,804 posts
If you are using the iFrame module, you can use this to embed that video:

<iframe src="http://video.foxnews.com/v/4413578946001" width="100%" height="800" frameborder="0"></iframe>

make sure you've added video.foxnews.com to the allowed domains in our ACP > Tools > iFrame Control > Allowed Domains.

You may also want to change the height parameter.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Thank you Douglas
douglas
@douglas
10 years ago
2,804 posts
Glad it worked for you. :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Yes it did-thanks!...just wish It was not such a hassle to add videos
douglas
@douglas
10 years ago
2,804 posts
If it were a YouTube, Vimeo or even a video from your site, the URL Scanner module would work just by adding the URL in your post.

It looks like foxnews uses their own video player that looks like a YouTube player but I don't think it is.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

Tags