Skip to main content

Access Camera HTML 5

Access camera and video, the INPUT element with a type of file is necessary:
<input type="file" accept="image/*">
To isolate only a photos as the type to be uploaded, the accept attribute must match the pattern above.
HTML 5 CAPTURE MEDIA DEVICE

<p>Capture Image: <input type="file" accept="image/*" id="capture" capture="camera"> 

<p>Capture Audio: <input type="file" accept="audio/*" id="capture" capture="microphone"> 

<p>Capture Video: <input type="file" accept="video/*" id="capture" capture="camcorder"> 

Comments

buy cloth

Popular posts from this blog

Left & Right Outer Join Example in LINQ using Lambda Expression

Left & Right Outer Join Example in LINQ using  Lambda Expression Combines two collections into a single hierarchical collection. The join operation is based on matching keys. This is called group join so lambda expression we can use the group join to achieve the result Suppose we have two classes’ person and Address public   class   Person {      public   int  EmpId {  get ;  set ; }      public   string  FirstName {  get ;  set ; }      public   string  LastName {  get ;  set ; } } public   class   Address {      public   int  AddressId {  get ;  set ; }      public   int  EmpId {  get ;  set ; }      public   string  CityName {  get ;  set ; }      public   strin...

Ajax based Shopping cart example in jquery Asp.net

In this example we have show basic functionally of shopping cart using ajax. So we have three classes  named  shopping cart, shopping cart model, product. Product class contain the three propertiesproductId, productname, unitprice as shown given below public   class   Product {      public   int  ProductId {  get ;  set ; }      public   string  ProductName {  get ;  set ; }      public   decimal  UnitPrice {  get ;  set ; } } Here shopping class contain the info  productid, productname ,quantity , unitprice, total price . TheseInfo store in shopping cart class public   class   ShoppingCart {      public   int  ProductId {  get ;  set ; }      public   string  ProductName {  get ;  set ; }      public   ...

Fluent nhibernate MVC Sample

This article describing the how to implement the Fluent nhibernate. What first you have to know what is fluent nhibernate in .net? What is NHibernate and fluent nhibernate in .net? First you have to know about NHibernate. it is an object-relational mapping (ORM) solution for the Microsoft .NET platform. It provides a framework for mapping an object-oriented domain model to a traditional relational database. Why would you need it? Because it can save you from writing a lot of tedious ADO.NET code. Essentially it enhances developer productivity when developing CRUD applications, that is, applications whose main purpose is to Create, Read, Update, and Delete data in a database. NHibernate is open source, and you need to realize that you are making your application dependent on third party libraries, whose long term goals may diverge from yours. In NHibernate we need to create mapping purely xml based. We need to create xml  mapping  to map the table wher...