Paratii-Video / paratii-player

Probably the world's 1st in-player token wallet (v0.0.1 of the Paratii embeddable web player).
http://paratii.video
GNU General Public License v3.0
41 stars 11 forks source link

Design.Mini: sharing/embedding modal M14 #170

Open jellegerbrandy opened 7 years ago

jellegerbrandy commented 7 years ago

referring to the design on #162

Need to define the content of the sharing/embed modal.

Current modal for embedding is this:

image

Proposal is part of #162 (my screen capture refuses to select from the pdf) and has two options (link and embed snippet) together.

jellegerbrandy commented 7 years ago

@pedrocasa asks: "I still don't understand why we need so many options in that modal (is there another way to make it more automatic and simple?)"

jellegerbrandy commented 7 years ago

We probably should to it just as youtube does:

jrgarou commented 7 years ago

We can create two buttons on player to call the modals:

image

Or we can create two modals linked and use the same approach that we got now on sign in/up modal:

image

what do you think @jellegerbrandy @pedrocasa?

pedrocasa commented 7 years ago

I Agree with @jellegerbrandy and @jrgarou about the "social share" ( direct to twitter, facebook, blabla )

My only concern is about the options of capabilities and sizes of the embed sharing.

jellegerbrandy commented 7 years ago

@enricocicconi

geckoslair commented 7 years ago

@jellegerbrandy

"We probably should to it just as youtube does"

@pedrocasa

"My only concern is about the options of capabilities and sizes of the embed sharing." "Do we need it all?"

I think in that stage user (mostly creators maybe?) needs a deep control of the embeded player capabilities, look and feel etc.

"Does the user needs to worry about what is the correct size for embedding it on his blog (what happens when the viewer of his blog open it on a mobile device that's smaller than the mini size ?)"

It depends: mini, tiny ect. operate on two aspects: sizes and features. Sizes can be customized by the user/creators directly on the embed code. Maybe the best approach is to rename "tiny" and "mini" with something like "lite" "minimal" etc.

Sizes are just a way of saying: "ok man, you have chosen 'tiny' so this is the minimum suggested size for this type of setting.

Responsive embeded players (youtube, vimeo etc.) is quite debated among frontenders:

"What happens when the user defines autoplay and the video is a pay-per-view"

Let's take a choice: my opinion is that autoplay option is disabled for pay-per-view video!

jellegerbrandy commented 7 years ago
pedrocasa commented 7 years ago

re-uploaded https://github.com/Paratii-Video/paratii-player/issues/162

I made a two-steps modals for the embed function as a test
The actual "embed modal" seems a bit tight to me

jrgarou commented 7 years ago

I create the share modal with two "steps"(works on frontend branch):

image image

pedrocasa commented 7 years ago

What does the "playsinline" option do? @enricocicconi

pedrocasa commented 7 years ago

the actual share modal is a bit tight One of the solutions is to add one step modal as the flow that I re-uploaded

geckoslair commented 7 years ago

@pedrocasa iOS (on iphone) by default play the video in fullscreen. Playsinline allows the video to play directly inside the iframe without going fullscreen.