Video Embed Issue
-
I want to embed a video from Time Magazine’s website. The embed code doesn’t work when I put it in my code. Can you help me figure out how to use it so it works? This is the code:
The blog I need help with is: (visible only to logged in users)
-
You need to convert the code into a gigya shortcode. Example here:
https://en.forums.wordpress.com/topic/videos-not-showing-up-lockerz/page/2?replies=43#post-909636 -
Oddly, I just read that forum, and copied a gigya shortcode exactly like you wrote in that thread, and when I post my video i get a “embed_shortcode: is not a valid URL” error; when i copy the code from that thread below it, it plays. Here are the codes side by side:
My video:
[gigya src=http://c.brightcove.com/services/viewer/federated_f9"
flashvars="isVid=1&isUI=1&videoId=2274815837001&playerID=1577029897001&playerKey=AQ~~,AAAAAF1BIQQ~,g5cZB_aGkYZC26fBYKv5Nsnal0IamyGL&domain=embed&dynamicStreaming=true" width="480" height="270" allowFullScreen="true" allowScriptAccess="always" ]your shortcode:
[gigya src="http://c.brightcove.com/services/viewer/federated_f9" flashvars="isVid=1&isUI=1&videoId=1626322562001&playerID=1398061561001&playerKey=AQ~~,AAAApYJ7UqE~,xqr_zXk0I-zzNndy8NlHogrCb5QdyZRf&domain=embed&dynamicStreaming=true" width="480" height="270" allowFullScreen="true" allowScriptAccess="always" ]I can’t for the life of me figure out why it’s not working. Any help would be appreciated
-
sorry about the above, forgot the code tags
Mine:
[gigya src=http://c.brightcove.com/services/viewer/federated_f9"flashvars="isVid=1&isUI=1&videoId=2274815837001&playerID=1577029897001&playerKey=AQ~~,AAAAAF1BIQQ~,g5cZB_aGkYZC26fBYKv5Nsnal0IamyGL&domain=embed&dynamicStreaming=true" width="480" height="270" allowFullScreen="true" allowScriptAccess="always" ]Working example:
[gigya src="http://c.brightcove.com/services/viewer/federated_f9" flashvars="isVid=1&isUI=1&videoId=1626322562001&playerID=1398061561001&playerKey=AQ~~,AAAApYJ7UqE~,xqr_zXk0I-zzNndy8NlHogrCb5QdyZRf&domain=embed&dynamicStreaming=true" width="480" height="270" allowFullScreen="true" allowScriptAccess="always" ] -
It’s not working because you’ve got two typos: no quotation mark before http and no space before flashvars.
-
thanks, I think it was the flashvars space; I noticed the quotation as soon as i posted and when I fixed it, I still got the error. I ended up just re-pasting my video information over your code again, and it worked. Thanks again for posting the original shortcode; I had been frustrated with brightcove until I found it (I’m bad with code). Will also definitely remember the space before flashvars
- The topic ‘Video Embed Issue’ is closed to new replies.