HTML5 Video - Load and unload video tag with jQuery -
Get link
Facebook
X
Pinterest
Email
Other Apps
I am developing a website with a large slider which uses 100% width and height slides. I am using some video as background in some video slides. When I tried several plugins, some were working with JScroll, so I ended up using the "plain video jquery plugin" ().
The plugin uses video tags to play everything I am also adding a video tag inside each page, such as:
& lt; Div class = "rsImg page" id = "page1" & gt; & Lt; Video poster = "video / poster page" id = "video-intro" & gt; & Lt; Source src = "video / trailer_480p.ogg" type = "video / og" & gt; & Lt; Source src = "video / video.mp34" type = "video / mp34" & gt; & Lt; / Video & gt; & Lt; / Div & gt; & Lt ;! - End of page 1 - & gt;
The video plays and behaves correctly, it's good.
But as I add more slides, I am concerned about memory usage and slow speed in the whole experience. / P>
I have a function that listens for the "slide change" event, so there will be no problem deleting the video while changing the slide, such as:
So I have tried to clear and remove the empty divas, and after this, after that, to start the video again, I want to add the same code in one place. Thought, but it does not work as expected and I do not know that this is a good way to take care of the memory leak.
Edit:
I was using the "append" "html". My code now works like this, I need to increase memory and some kind of garbage collection. any advice?
I tried to create a new database in my project, but when I run the script, I get this error, I have another project, this type of definition worked before, but now it gets a single error. I am using Python 2.7.8 and the version of SQLAlchemy module is 0.9.8. By the way, using a project flask- SQLAlchemy, it works well, I'm confused. Traceback information is as follows: Traceback (most recent call final): File "D: / Projects / IOM / db_create.py", line 4, & lt; Module & gt; From the models the base file "D: \ Projects \ OO-IM \ models.py", in line 15, in the & lt; Module & gt; Column ( 'followed_id', int (), ForeignKey ( 'user.id')) file "C: \ Python27 \ lib \ site-packages \ SQLAlchemy \ SQL \ schema.py", line 369, __new__ schema = metadata. Schema file "C: \ Python27 \ lib \ site-packages \ SQLAlchemy \ SQL \ elements.py", line 662, AttributeError in __getattr__ key): Neither 'column' object nor ...
I use Eners to be hibernate to audit my institutions. I have an audit entity, Foo , which includes a list & lt; Bars & gt; However, I do not want to audit the bar institutions, in the form of properties, I have written that: @inti @edicated public class Foo {@JoinTable (name = "T_FOO_BAR", joinColumns = @JoinColumn (name = "FOO_ID"), inverseJoinColumns = @JoinColumn (Name = "BAR_ID")) @ManyToMany (Cascade = Persist) @ Indited (targetAuditMode = RelationTargetAuditMode.NOT_AUDITED ) Public listing & lt; Bars & gt; GetBars () {Return bars; }} Now, I want to retrieve an amendment of foo : AuditReader reader = AuditReaderFactory.get (GetEntityManager ()); FU modification = (FU) reader.CreativeTeA () .entensEtrevision (Foo Class, 42) .getSingleResult (); Unfortunately, when I want to retrieve all the data (i.e. when it loads lazy times ), error me ORA-00942: table or view is not present , because Tried to query this: Sel...
While pagging my user model in kppp, I can sort with some values, but not others. For example, I can order results from created or email , for example, but username or reputation seems to come back order by arbitrary command for example with a list of users: $ this-> paginate = array ('condition' => array ( 'User.is_active' = & gt; true), 'border' => 24, 'order' => array ('User.created' => DESC)); Works as expected, but $ this - & gt; Paged = array ('conditions' = & gt; array (' user.isIactive '= & gt; true),' border '= & gt; 24,' command '= & gt; array (' user repeats' = ' & Gt; DESC ')); No, no. I first thought that this could be a database issue, but when I search the database directly, sorted as expected. Note: I am using Mangodebi with the Mongo DB plugin of Ichikawa for the KPPHP; Pagnetizing users are used to work properl...
Comments
Post a Comment