intanpalupidn / jquery-oembed

Automatically exported from code.google.com/p/jquery-oembed
0 stars 0 forks source link

Can Oembed run programmatically? #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using this code to generate the oembed:
jQuery(document).ready(function() {
                jQuery("a.oembed").oembed();
            });
            jQuery('.modal').on('show', function () {
                var id = jQuery(this).attr('data-video');
                console.log(id);
                jQuery('.modal-body', this).append( '<a href="' + id + '" class="oembed">Video Link</a>' );
            });
2.
3.

What is the expected output? What do you see instead?

Was expecting to see the embeds. Nothing shows up tho...

What version of the product are you using? On what operating system?

Recent. With jQuery 

Please provide any additional information below.

Original issue reported on code.google.com by whyisjake on 5 Aug 2013 at 11:22