I have a mkv file. It's video codec is avc and audio codec is ac3.
How can i put it into a html5 video tag?
I use the
<source src="01.mkv" type="video/x-matroska" codecs="a_ac3, avc">
but in safari 5 or chorome4 it doesn't works.
Hi,
I'm using ASP.NET MVC and have a model which has an image (byte array) in one of the fields. I'm trying to output this image into the src attribute of the img tag. I'm looking to do something like '. How can I do this?
I read some time ago about the possibility to use media stream from a USB or rs232 device with the tag such as a webcam with HTML5?.
Is there a web browser that supports this right now?. (nighty builds of chrome, webkit...)
Thanks.
Hi,
is it possible to read the value of an IdentityTag if you place it on the TagVisualizer, without having initalized it before?
I would like to use the tags for registering a new object on the Surface but having all the "free" IdentityTags in a Collection for initalizing them all... There must be a better way to do in I think.
But the TagVisualizer doesn't seem to do anything when you put a tag on it that it doesn't know.
I have problem with validation such code
function show_help_tip(event, element) {
var $e = $(element);
var pos = $e.offset();
$('.body-balloon',$help_tip_div).html($(' <p> </p> ').html(element.getAttribute('title')));
$help_tip_div.css({position:'absolute',top:530,left:pos.left+$e.width()-20}).show();
}
end tag for element "P" which is not open
What's wrong?
i have 3 div tags.Each having no. of textboxs and button.Each textbox having validation.For all button causesvalidation property is true.If i click "button1" in "div1" tag will cause validation of other textbox in other div tags.I dont want to do this ? How to avoid this?
I have a custom tag in django, but i need use this functionality in a non-view, non-template stage without template engine, there is a way without repeat code?
I have a question.Here is the code!
f.select(:departments,Department.all.collect{|c|[c.name,c.id]},{},:size=>10,:multiple => ture)
class Emergency
has many :departments
end
the html source like this:
<select id="emergency_departments" multiple="multiple" name="emergency[departments][]" size="10"><option value ="">""</option>....</select>
now I want to get the default selected tag , who can tell me how ?
I've an img element with dynamically changing image. I always want to show this image in its full dimension.
So, I think, I've to dynamically change width and height attributes in img tag.
How can I do this in php or javascript?
I am seeing some attribute I have never seen before in a div tag. I haven't touch html for a while but googling the attribute didn't return much useful info.
<div dataquery="#item_1306" comp="box.components.Flashplayer" id="box_Flashplayer_2" propertyquery="#box_Flashplaye_2" class="box_Flashplaye_style2"...
My question is, do you know what are these "dataquery" "comp" and "propertyquery" attributes?
Thanks alot folks.
While developing a joomla plugin, if my plugin folder looks like so:
/install.xml
/mainPg.php
/subfolder/lib.php
/subfolder/config.php
Would the tag look like this?
<files>
<filename plugin="mainPg">mainPg.php</filename>
<folder>subfolder</folder>
</files>
I have this simple Post model:
class Post(models.Model):
title = models.CharField(_('title'), max_length=60, blank=True, null=True)
body = models.TextField(_('body'))
blog = models.ForeignKey(Blog, related_name="posts")
user = models.ForeignKey(User)
I want that when I insert in the form the links, the these links are saved in the body from this form:
http://www.example.com or www.example.com
to this form ( with tag and rel="nofollow" parameter ):
<a href="http://www.example.com" rel="nofollow">www.example.com</a>
How can I do this ?
Thanks ^_^
Currently image_tag("file.jpg") produces normal image html tag, BUT src="file.jpg*?7485793246*" what the hell are those numbers anyway and how to disable them?
Hello,
I was wondering if it was possible to get a tag's contents only if has a given length (say, 300 characters) using XPath. Any help is welcome.
Thanks in advance
I'm using embed tag in PHP like this:
echo "<embed src='images/meccaAdhan.mp3' name='guitar' id='BGS_ID' autostart='true' loop='false' width='2' height='0'></embed>";
I need to add this code before images:
templates/<?php echo $this->template ?>
Please guide me how to solved it.
Neither the <blink> tag nor the text-decoration:blink; style in css are supported in Internet Explorer.
Is there any technique available for making blinking text in IE?
i have the following code below but sometime the "serving_description" tag isn't there. Right now i just put a try catch around it but i wanted to find out if there was a cleaner way to handle this scenario.
XmlElement servingElement = (XmlElement)servingNode;
serving.Id = Convert.ToInt32(servingElement.GetElementsByTagName("serving_id")[0].InnerText);
serving.Name = servingElement.GetElementsByTagName("serving_description")[0].InnerText;
I want to run a javascript snippet inside the <head> tag. Is that possible to do that in Selenium RC+Java?
I understood that if I use getEval or runScript that will insert the code inside the HTML body.
Any Ideas?
Thanks
It is my first time building an android app. Was wondering firstly, if there are demos that exists which could help me to build a media tag editor (form to edit mp3 files).
I would also like to know how to populate the sd card on the emulator.
Any help on android would be good. Thanks all!
What are some non commercial deployment tools that allows a developer to speficy:
a branch/tag,
a revision and a
target machine to deploy code to?
I was wondering if there's a ccnet plugin of some sort that would allow the above to be specified.
I know this could be done with a NAnt deploy script. However considering we're mostly using gui tools for feedback, plus the tortoise svn repository browser, it be cool to lear if there's an GUI simple GUI tool/plugin
cheers.
Hi,
I would like to remove tag like the following one with its attributes using C# .Net
how can i do it?
<aaa type="1" class="2" />
other tags like <bbb type="5" class="4" /> i would like to keep.
Best Regards,
I need to put a javascript variable as image source.That is my image tag should be in this format
here i am adding my script
document.getElementById("pricefilter").innerHTML =''
here variablename carries my image path.How can i put this in double quates.Please help to solve this