June 15, 2012 at 8:52 pm #6590
WordPress 3.4, Lightbox Ultimate 1.7.0
On your demo page at http://www.tipsandtricks-hq.com/wp-affiliate-link-manager/how-to-organize-and-group-multiple-lightbox-anchor-images-in-a-post-or-page-130, I see ‘tooltips” pop up when I roll over each video (that currently say “video title goes here”).
I’ve tried to accomplish this with Amazon S3 protected videos, using tags of text=”blah”, description=”blah”, title=”blah”, or alt=”blah” inside the shortcode, but none of those seem to work.
Here’s my basic code:
[wp_lightbox_protected_s3_video class="lightbox_img_frame_fancy1" name="Overview-mp4-h264.mp4" bucket="cdn.socialmarketingnoise.com" autoplay="true" width="800" height="450" source="/wp/wp-content/uploads/2012/06/Overview-s.jpg" description="Description goes here" text="Text goes here" alt="Alt goes here"]
[wp_lightbox_protected_s3_video name="Overview-mp4-h264.mp4" bucket="cdn.socialmarketingnoise.com" autoplay="true" width="800" height="450" source="/wp/wp-content/uploads/2012/06/Overview-s.jpg" class="lightbox_img_frame_fancy1" ]
If you need access to the site, let me know and I’ll send you directions (it’s still a “hidden” site).
TIA for any advice on how to get roll-over descriptions working for S3 Protected Video.
SteveJune 16, 2012 at 1:40 am #46196
Hi, They are not actually tooltip popup. If you have a “title” attribute in the HTML output the browser automatically shows it when you hover over the element.
For Amazon s3 video the plugin doesn’t take the value of title via shortcode (because it’s not possible to display a title for that specific library shortcode).June 18, 2012 at 7:14 pm #46197
I noticed that the shortcode gets rendered as the following on the client’s browser:
<div class=”lightbox_ultimate_anchor lightbox_ultimate_image_anchor lightbox_img_frame_fancy1″><br />
<a href=”https://www.socialmarketingnoise.com/dsc-members/dsc-video-library/dsc-video-library-offering/#” rel=”#wplu4fdf534f589b0″><img src=”/wp/wp-content/uploads/2012/06/Overview-s.jpg” alt=”” /></a></p><br />
<div id=”wplu4fdf534f589b0″ class=”lightbox_ultimate_fp_overlay” style=”width:800px;”><br />
<a href=”http%3A%2F%2Fcdn.socialmarketingnoise.com.s3.amazonaws.com%2FOverview-mp4-h264.mp4%3FAWSAccessKeyId%3XXXXXXXXXXXXXXXXXX%26Expires%3D1340036219%26Signature%3Dor%2xxxxxxxxxxxxxxxxxxxxOKs%252FP9VknY%253D”></a><br />
How hard would it be to feed “text” into the ALT tag for the first href block, the first image, or the second href that calls the player? I would think that any of these would work OK.
If I want to use the “grouping”, I need a way to add roll-over titles or descriptions to each video. Without the ability to add text titles that are either below or “roll-over” each video, the grouping seems fairly useless to me.
PS: The editor here is not displaying a large block of the code I have pasted. I’m trying to figure out why….June 19, 2012 at 5:16 am #46198
Hi, We will see what we can do.June 19, 2012 at 7:12 am #46199
Hi, We have updated the Amazon S3 protected video display shortcodes. Now you will be able to pass a title parameter for each shortcode (using both anchor text and image). For example:
[wp_lightbox_protected_s3_video name="my-h264-video.mp4" bucket="my-test-bucket" width="640" height="480" title="title goes here" source="http://www.example.com/anchor-image.jpg"]
You will also be able to pass another parameter called img_attributes to specify any anchor image related HTML attributes. For example: alt, width, height etc. So if you want to use the alt attribute for an anchor image you can do so like the following:
[wp_lightbox_protected_s3_video name="my-h264-video.mp4" bucket="my-test-bucket" width="640" height="480" title="title goes here" source="http://www.example.com/anchor-image.jpg" img_attributes="alt='image description'"]
If you want to resize the anchor image –
[wp_lightbox_protected_s3_video name="my-h264-video.mp4" bucket="my-test-bucket" width="640" height="480" title="title goes here" source="http://www.example.com/anchor-image.jpg" img_attributes="alt='image description' width='200' height='200'"]
You will need an update to use these parameters. Please do the following:
1. Deactivate and delete the currently installed version of the plugin(s).
2. Download a fresh build of the plugin(s) from here:
3. Upload and activate this version of the plugin(s).
Let me know how it goes.June 19, 2012 at 2:40 pm #46200
That new change is what we needed and is working. Thanks for taking care of it so quickly.
And the bonus change that allows me to resize the image on the fly will REALLY help. I’ve been resizing/reuploading them manually, and never even thought to ask if you could throw that in attributes. Way to jump the gun and solve a problem I didn’t even know I had (yet)!!!!
SteveJune 19, 2012 at 4:25 pm #46201
One quick update. The new “title” attribute works well on individual lightbox anchors, but only works for the first anchor in a gallery. If I roll over others in a gallery after the first one has popped, they never appear. I have to click somewhere outside the gallery (or on another anchor that’s not in the gallery), and then can come back to vid#2 and it’ll appear. But it’ll no longer work over vid1.
It’s like the whole gallery is being treated as the rollover trigger instead of individual videos in the gallery being treated as such.
The page in question is on a site protected by “coming soon pro” and requires a paid membership to get to. I can send you a private message with a login that will let you get at the page in question, but I’d prefer not to post it in public view (like a forum).
SteveJune 20, 2012 at 1:33 am #46202
Hi, I’ve sent an email to your registered email address. Let me know if you don’t receive it.June 22, 2012 at 12:27 am #46203
It turns out that the shortcodes were working as expected. They just had the same title.June 22, 2012 at 3:59 pm #46204
Sorry. My bad for not coming back and adding that the problem was what you said. Thanks again for all your help! Everything sorted.
- You must be logged in to reply to this topic.