Comments (6)
@matthewcrist what questions do you have?
from boston.gov-d7.
- Is there an example of an event page with a video on it right now? I want to make sure when I'm recreating a video in dev, I'm doing it right.
- Placement of "Watch it Live" flag on mobile/tablet?
- Any indications on the individual event pages or just the calendar front?
- Will we know the URL of the video before hand?
- Do we only show the flag of "watch it live" when it's actually live? If not, should there be another indicator that a user COULD (in the future) watch it live?
- "Can a pre-defined image show in the video component until the event begins when someone clicks play?" On one hand, I'd say "most likely," on the other I'd ask what happens if the stream doesn't start right away? I imagine this as some sort of scheduling magic that says "At 9am, we go from showing static image to video player" but that could also prove problematic if/when the stream doesn't start when expected.
from boston.gov-d7.
@asalsman updating requirements a tad in this and the initial issue.
Progressive enhancement upgrade:
If a user doesn't have JS enabled, the YouTube video doesn't work anyways, so...
- Keep the "Event details" button as-is on /events detail dropdown
- In the page w/the video component, rework the video component to say "Thanks for your interest! You will need to enable JavaScript on your browser if you want to watch the video."
If a user has JS enabled:
- before the event start time, use JS to render the following instead of the "play" button: "This live stream event hasn't started. Check back in [insert countdown timer showing days, hours, minutes, seconds counting down to 1 minute before event start time]."
- use the start time field to determine when the video shows the standard blue overlay on static image. at the bottom
@asalsman to answer your questions:
- Is there an example of an event page with a video on it right now? I want to make sure when I'm recreating a video in dev, I'm doing it right. at the bottom
- Placement of "Watch it Live" flag on mobile/tablet? Mobile - to the right of the displayed time. Tablet - in-line with the title still.
- Any indications on the individual event pages or just the calendar front? Just the calendar. There will be a video on the page itself plus the indicator I wrote above in the JS section.
- Will we know the URL of the video before hand? No - it's technically a video ID. We will know that. There are only two live streams: the City Council and City TV.
- Do we only show the flag of "watch it live" when it's actually live? If not, should there be another indicator that a user COULD (in the future) watch it live? Fleshed out the answer to this question in the first issue better.
- "Can a pre-defined image show in the video component until the event begins when someone clicks play?" On one hand, I'd say "most likely," on the other I'd ask what happens if the stream doesn't start right away? I imagine this as some sort of scheduling magic that says "At 9am, we go from showing static image to video player" but that could also prove problematic if/when the stream doesn't start when expected. See above JS discussion
from boston.gov-d7.
Note that this applies both to event content types AND public notice content types as those continue to be created.
from boston.gov-d7.
This is ready on production.
from boston.gov-d7.
This looks good. Started new issues w/bugs or adjustments ( #212 #213 #214 #215 ). Closing.
from boston.gov-d7.
Related Issues (20)
- Adjustments to procurement ads content type HOT 25
- Reduce related content to a single field. HOT 4
- Related Content Phase 2: Option to select "all of type" HOT 1
- Error : Cannot use string offset as an array in _token_token_tree_format_row()
- Salesforce Mapping Errors
- Events API broken HOT 1
- Related Content Field Migration HOT 21
- Translate toggle/button disappears on mobile [portrait] HOT 1
- Security update for link module
- Missing "lang" attribute from <html> tag HOT 2
- Change patterns library used by Acquia pre-deploy environments HOT 1
- Update Hub Links for AB HOT 1
- Bash Week: Text breaking onto 2 lines on mobile HOT 1
- Cityscore page mobile view HOT 2
- SAML Permissions for Site Admins on Hub HOT 7
- Updates to metrolist: HOT 3
- Breadcrumbs on Procurement Ads, Public Notices & Events HOT 1
- Filter feature broken on live site HOT 1
- Site Administrators should be able to enable SAML for users
- Search on boston.gov isn't going to search.boston.gov HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boston.gov-d7.