I’d like to code a registration form with SLPlayer. I wonder if forms are supported in Cocktail, and properly supported in the Flash version?
Also, do you have a demo SLPlayer or Cocktail […]
Fine for me.
I was thinking of a pre-processor macro that would
#define the native video class name in the source code, but now I realize that haxe compiler flags only allow for conditional compilation.
I went ahead and […]
May I suggest to provide an optional compilation flag to override the class name for the video object? Because changing a source file from cocktail code base is not the safest way to solve this.
If we have […]
Yannick, I’m sorry but I don’t think I can select which class can handle the
<video> tag, can I?
In our project we need to integrate the Flash API of Akamai Analytics. To achieve this we need extensions points in NativeVideo to hook custom code. For example in the video constructor we need to get […]
I would just use the BSD license. There is no need to use both. Both are very permissive.
So what do you think about keeping the existing SLPlayer classes together with Cocktail? After all both have the same goal.
Hi there, One of our component has so much Flash-specific code that I would like to use a dedicated component to avoid mixing big portions of JS and Flash in the same Haxe class. To achieve this I’d like to do an “#if flash” in the HTML document used by SLPlayer to build the application. [...]
@Zabojad, can you please elaborate on: “It’s important to keep these projects independant…” We just defined Cocktail as “Cross-platform UI library using web standards”, how does SLPlayer stray away from this concept?
Please add a link to the cocktail project page
As SLPlayer is bound to the DOM and depends on the cocktail library, I would expect this project to be an optional set of components on top of Cocktail, so I would call it “Cocktail Bricks”. And by the way, why not merge the current slplayer code with cocktail? I don’t see a reason for [...]
Another proposal made with @lexa: “Cross-platform UI library using web standards” Sounds good to me, as long as we list the supported web standards, HTML and DOM for now. Make it clear that CSS is not implemented, nor is SVG for example. What does “Web standard” mean? W3C publishes documents that define Web technologies. These documents [...]
And about the term DOM:
The most basic scripting interface developed at W3C is the DOM, the Document Object Model which allows programs and scripts to dynamically access and update the content, structure and style of documents.
Indeed the term CSS should be avoided as cocktail does not yet support it, see how W3C describes it: What is CSS? CSS is the language for describing the presentation of Web pages CSS is independent of HTML and can be used with any XML-based markup language. The separation of HTML from CSS makes it [...]
Cleanup done on “master”! I also removed branch “develop” but if you need it you can create it again.
Cheers, and enjoy the size gain:
$ du -hs
$ du -hs .git
$ du -hs
$ du -hs .git
I’m trying to clean the repo, but I’m having a problem understanding what to do with **/bin/native_apps directories:
Where do they come from? Are they generated during build? Can I safely remove them?