Re: [whatwg] Idea for having InputXML Or ClickXML for HTML5+

2011-06-09 Thread Ian Hickson
On Tue, 1 Mar 2011, Narendra Sisodiya wrote:

 We can record mouse and keyboard activity in xml. There are many events 
 which are resolution independent.

 for example mouse clicks, button press events . Now suppose you are 
 dealing with some animation or game or just a slideshow. what you do ? 
 you type some buttons from mouse or keyboard. Now if you can record the 
 timeline of these events then we can play back at anytime.

On Tue, 1 Mar 2011, Bjartur Thorlacius wrote:

 IMO, you should record when users advance slides (rather than when users 
 press spacebar, activate their cursor on a specified region, flick their 
 accelometer wand, or wipe their touch touchpad in a given direction).

On Tue, 1 Mar 2011, Aryeh Gregor wrote:
 
 Do you mean that a web page should actually be able to actually control 
 the user's mouse and keyboard?  That's clearly not acceptable for 
 security.  What if the web page types:
 
 Ctrl-TCtrl-Lhttp://www.evil.com/download-virusEnterEnterEnter
 
 to go to a URL and skip any warnings about, e.g., installing untrusted 
 plugins?  Even if you limit it to synthesizing clicks that only take 
 effect within the invoking webpage, you'd probably still run into 
 security issues with cross-site content (clickjacking on steroids).
 
 What exactly do you mean by an automated slideshow?  How would this 
 feature help with that?

On Wed, 2 Mar 2011, Narendra Sisodiya wrote:

 automated slideshow = slideshow where user need not to do next/forward 
 etc, every slide will be having timings and Audio will be in sync with 
 slides. I know this can be done using custom xml file and Javascript.  
 (https://docs.google.com/View?id=dhtsnnph_59gt2jjjdjpli=1 )

On Wed, 2 Mar 2011, Ben Rimmington wrote:
 
 See the Synchronized Multimedia Integration Language [1] [2].
 
 [1] http://www.w3.org/AudioVideo/
 [2] http://www.w3.org/TR/SMIL/

On Wed, 2 Mar 2011, Silvia Pfeiffer wrote:

 Have you looked at popcorn.js? http://popcornjs.org/

On Wed, 2 Mar 2011, Narendra Sisodiya wrote:
 
 Thanks for link..

I haven't added anything to the spec as a result of this particular 
discussion, as I cannot really see what use case is being discussed or 
whether there is a concrete proposal here. Please don't hesitate to post 
further suggestions. In general I would encourage everyone to study this 
particular part of the FAQ:

   
http://wiki.whatwg.org/wiki/FAQ#Is_there_a_process_for_adding_new_features_to_a_specification.3F

Cheers,
-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] Idea for having InputXML Or ClickXML for HTML5+

2011-03-02 Thread Ben Rimmington
On 2 Mar 2011, at 05:56, Narendra Sisodiya wrote:

 On Wed, Mar 2, 2011 at 5:28 AM, Aryeh Gregor simetrical+...@gmail.comwrote:
 
 What exactly do you mean by an automated slideshow?  How would this
 feature help with that?
 
 
 automated slideshow = slideshow where user need not to do next/forward etc,
 every slide will be having timings and Audio will be in sync with slides.
 I know this can be done using custom xml file and Javascript.  (
 https://docs.google.com/View?id=dhtsnnph_59gt2jjjdjpli=1 )

See the Synchronized Multimedia Integration Language [1] [2].

[1] http://www.w3.org/AudioVideo/

[2] http://www.w3.org/TR/SMIL/



Re: [whatwg] Idea for having InputXML Or ClickXML for HTML5+

2011-03-02 Thread Silvia Pfeiffer
Have you looked at popcorn.js? http://popcornjs.org/

Silvia.

On Wed, Mar 2, 2011 at 10:59 PM, Ben Rimmington benrimming...@me.com wrote:
 On 2 Mar 2011, at 05:56, Narendra Sisodiya wrote:

 On Wed, Mar 2, 2011 at 5:28 AM, Aryeh Gregor simetrical+...@gmail.comwrote:

 What exactly do you mean by an automated slideshow?  How would this
 feature help with that?


 automated slideshow = slideshow where user need not to do next/forward etc,
 every slide will be having timings and Audio will be in sync with slides.
 I know this can be done using custom xml file and Javascript.  (
 https://docs.google.com/View?id=dhtsnnph_59gt2jjjdjpli=1 )

 See the Synchronized Multimedia Integration Language [1] [2].

 [1] http://www.w3.org/AudioVideo/

 [2] http://www.w3.org/TR/SMIL/




Re: [whatwg] Idea for having InputXML Or ClickXML for HTML5+

2011-03-02 Thread Narendra Sisodiya
On Wed, Mar 2, 2011 at 5:57 PM, Silvia Pfeiffer
silviapfeiff...@gmail.com wrote:
 Have you looked at popcorn.js? http://popcornjs.org/

Thanks for link..


Re: [whatwg] Idea for having InputXML Or ClickXML for HTML5+

2011-03-01 Thread Bjartur Thorlacius
On 3/1/11, Narendra Sisodiya naren...@narendrasisodiya.com wrote:
 We can record mouse and keyboard activity in xml. There are many events
 which are resolution independent.
 for example mouse clicks, button press events . Now suppose you are dealing
 with some animation or game or just a slideshow. what you do ? you type some
 buttons from mouse or keyboard. Now if you can record the timeline of these
 events then we can play back at anytime.
IMO, you should record when users advance slides (rather than when
users press spacebar, activate their cursor on a specified region,
flick their accelometer wand, or wipe their touch touchpad in a given
direction).


Re: [whatwg] Idea for having InputXML Or ClickXML for HTML5+

2011-03-01 Thread Aryeh Gregor
On Tue, Mar 1, 2011 at 1:05 AM, Narendra Sisodiya
naren...@narendrasisodiya.com wrote:
 We can record mouse and keyboard activity in xml. There are many events
 which are resolution independent.
 for example mouse clicks, button press events . Now suppose you are dealing
 with some animation or game or just a slideshow. what you do ? you type some
 buttons from mouse or keyboard. Now if you can record the timeline of these
 events then we can play back at anytime.
 The idea is very interesting for having automated slideshows ..

Do you mean that a web page should actually be able to actually
control the user's mouse and keyboard?  That's clearly not acceptable
for security.  What if the web page types:

Ctrl-TCtrl-Lhttp://www.evil.com/download-virusEnterEnterEnter

to go to a URL and skip any warnings about, e.g., installing untrusted
plugins?  Even if you limit it to synthesizing clicks that only take
effect within the invoking webpage, you'd probably still run into
security issues with cross-site content (clickjacking on steroids).

What exactly do you mean by an automated slideshow?  How would this
feature help with that?


Re: [whatwg] Idea for having InputXML Or ClickXML for HTML5+

2011-03-01 Thread Narendra Sisodiya
On Wed, Mar 2, 2011 at 5:28 AM, Aryeh Gregor simetrical+...@gmail.comwrote:


 What exactly do you mean by an automated slideshow?  How would this
 feature help with that?


automated slideshow = slideshow where user need not to do next/forward etc,
every slide will be having timings and Audio will be in sync with slides.
I know this can be done using custom xml file and Javascript.  (
https://docs.google.com/View?id=dhtsnnph_59gt2jjjdjpli=1 )


-- 
┌─┐
│Narendra Sisodiya
│http://narendrasisodiya.com
└─┘


[whatwg] Idea for having InputXML Or ClickXML for HTML5+

2011-02-28 Thread Narendra Sisodiya
We can record mouse and keyboard activity in xml. There are many events
which are resolution independent.
for example mouse clicks, button press events . Now suppose you are dealing
with some animation or game or just a slideshow. what you do ? you type some
buttons from mouse or keyboard. Now if you can record the timeline of these
events then we can play back at anytime.
The idea is very interesting for having automated slideshows ..
Example

input
click input=mouse button=left time=30 x=30
y=40/click
click input=mouse button=left time=60 x=70
y=40/click
click input=mouse button=left time=130 x=30
y=140/click
click input=keyboard button=- time=340/click
click input=keyboard button=- time=630/click
click input=keyboard button=Ctrlz+Z time=980/click
/input


-- 
┌─┐
│Narendra Sisodiya
│http://narendrasisodiya.com
└─┘