Giter Site home page Giter Site logo

voc / voctoweb Goto Github PK

View Code? Open in Web Editor NEW
183.0 22.0 56.0 14.5 MB

voctoweb – the frontend and backend software behind media.ccc.de

License: GNU General Public License v3.0

Ruby 61.63% CoffeeScript 0.10% JavaScript 14.93% CSS 0.44% HTML 0.78% Dockerfile 0.20% Shell 0.10% SCSS 10.98% Haml 10.82% Procfile 0.01%
c3voc conference video hacktoberfest

voctoweb's Introduction

voctoweb

Voctoweb is a rails application that provides a “YouTube like” user interface to video, audio and pdf files; a meta data editor; and APIs. For more infomation about relations to other components see c3voc Wiki.

Tests Code Climate

Architecture overview

APIs

Every talk (alias event, in other systems also called lecture or session) is assigned to exactly one conference (e.g. the congress or lecture series like datengarten or openchaos) and consists of multiple files alias recordings. These files can be video or audio recordings of the talk in different formats and languages (live-translation), subtitle tracks as srt or slides as pdf.

Public GraphQL API

The newest API endpoint is at https://media.ccc.de/graphql, implementing a GraphQL endpoint with Apollo Federation. This allows clients to only request the attributes they need, while all data needed per screen can be fetched in a single request. We tried to clean up the type names and call talks lecture and files resources (previously known as recordings). Please create issues if you are missing anything.

Example query: https://graphqlbin.com/v2/nOWBC7

query LectureQueryExample {
  lectureBySlug(slug: "36c3-10652-bahnmining_-_punktlichkeit_ist_eine_zier") {
    guid
    title
    subtitle
    persons
    slug
    originalLanguage
    videos {
      label
      url
      mimeType
    }
  }
}

Public JSON API

The public API provides a programmatic access to the data behind media.ccc.de. Consumers of this API are typically player apps for different ecosystems, see https://media.ccc.de/about.html#apps for a 'full' list. The whole API is "discoverable" starting from https://api.media.ccc.de/public/conferences ; Available methods:

/public/conferences
/public/conferences/:acronym
/public/conferences/:id
/public/events
/public/events/:guid
/public/events/:id
/public/events/recent
/public/events/search?q=:term
/public/recordings
/public/recordings/:id

The id's are internal database ids, not to be confused with remote talk ids (alias pentabarf/frab id), e.g. https://media.ccc.de/public/events/2935 which is also accessible via https://media.ccc.de/public/events/f9d33869-f9a2-4570-9e9a-25c56e32082a. Same for conferences: https://media.ccc.de/public/conferences/54 is the same response as https://media.ccc.de/public/conferences/31c3.

Example:

curl -H "CONTENT-TYPE: application/json" http://localhost:3000/public/conferences

The resulting JSON will contain URLs to each of the individual conferences.

Additionally the API for events and recordings uses RFC-5988 HTTP header based pagination to reduce the server load.

curl -H "CONTENT-TYPE: application/json" "http://localhost:3000/public/events?page=10"

Public Data Dump

If you want to do statistics or simular use-cases and the GraphQL API does not provide the necessary resolvers you can also download the full data dump which is also used as database fixtures for local development (see ./bin/setup or ./bin/update-data). So you can either setup a local postgres database, or parse the yaml files inside of https://media.ccc.de/system/voctoweb.dump.tar.gz yourself.

Private REST API

The private API is used by our (video) production teams. They manage the content by adding new conferences, events and other files (so called recordings). All API calls need to use the JSON format. An example API client can be found as part of our publishing-script repository: https://github.com/voc/publishing/ . The api_key has to be added either as header Authorization: Token token=<api_key>, via query variable, or in the JSON request body – the examples below use 1234 as a api_key placeholder value.

Most REST operations work as expected. Examples for resource creation are listed on the applications dashboard page.

Create conference

You can use the API to register a new conference. The conference acronym and the URL of the schedule.xml are required. However folders and access rights need to be setup manually, before you can upload images and videos.

curl -H "CONTENT-TYPE: application/json" -H "Authorization: Token token=1234" -d '{
    "acronym":"37c3",
    "conference":{
      "title": "37C3: Unlocked",
	     "description": "The 37th Chaos Communication Congress (37C3) takes place in Hamburg, 27.-30.12.2023, and is the 2023 edition of the annual four-day conference on technology, society and utopia organised by the Chaos Computer Club (CCC) and volunteers.\r\n\r\nCongress offers lectures and workshops and various events on a multitude of topics including (but not limited to) information technology and generally a critical-creative attitude towards technology and the discussion about the effects of technological advances on society.",
      "slug": "congress/2023",
      "recordings_path":"congress/37c3",
      "images_path":"congress/37c3",
      "aspect_ratio":"16:9",
      "schedule_url":"https://fahrplan.events.ccc.de/congress/2023/fahrplan/schedule.xml"
    }
  }' "http://localhost:3000/api/conferences"

Create event

To add event (e.g. a talk or lecture) the conference it is part of via acronym, and define generate a random guid. You can add images to an event, like the poster image. For an explanation what the timeline_url and thumbnails_url parameters are, see https://timelens.io.

curl -H "CONTENT-TYPE: application/json" -H "Authorization: Token token=1234" -d '{
    "acronym": "37c3"
    "event":{
      "guid":"1c4d8ad8-e072-11e8-981a-6c400891b752",
      "slug":"37c3-22-qwerty",
      "title":"qwerty",
      "poster_url":"http://koeln.ccc.de/images/chaosknoten_preview.jpg",
      "thumb_url":"http://koeln.ccc.de/images/chaosknoten.jpg",
      "timeline_url":"http://koeln.ccc.de/images/chaosknoten.timeline.jpg",
      "thumbnails_url":"http://koeln.ccc.de/images/chaosknoten.thumbnails.vtt",
    }
  }' "http://localhost:3000/api/events"

Update event

curl -i -X PATCH -H "CONTENT-TYPE: application/json" -H "Authorization: Token token=1234" -d '{
    "event":{
      "tags": ["foo", "bar", "baz", "2018"]
    }
  }' "http://localhost:3000/api/events/1c4d8ad8-e072-11e8-981a-6c400891b752"

Create recording

Recordings are added by specifying the parent events guid, an URL and a filename. The recording length is specified in seconds.

curl -H "CONTENT-TYPE: application/json" -H "Authorization: Token token=1234" -d '{
    "guid":"1c4d8ad8-e072-11e8-981a-6c400891b752",
    "recording":{
      "filename":"some.mp4",
      "folder":"h264-hd",
      "mime_type":"video/mp4",
      "language":"deu"
      "size":"12",
      "length":"3600"
    }
  }' "http://localhost:3000/api/recordings"

Misc

Create news items

/api/news

Update promoted flag of events by view count

/api/events/update_promoted

Update view counts of events viewed in the last 30 minutes

/api/events/update_view_counts

Set up development environment

A convenient way to set up an environment for developing voctoweb is Docker.

First, install Docker and Docker Compose – you will probably find them in your distribution's package manager.

Then, clone this repository, make it your working directory, and run the following command:

bin/docker-dev-up

You can now reach the voctoweb frontend at http://localhost.c3voc.de/. The backend is at http://localhost.c3voc.de/admin, with the default username [email protected] and the password media123. You can stop the running containers using Ctrl-C. To start them again, just run docker-compose up.

The whole application directory is mounted into the containers, so all changes you make to the files are reflected inside the application automatically. To run commands inside the voctoweb container, run docker-compose run voctoweb $COMMAND. If you ever need to rebuild the containers (because of new dependencies, for example), run the docker-compose build command again.

Image and video files in docker/content are tried first, if missing live data from media.ccc.de is used.

Install for Production

Ruby Version

ruby 3.0.3

Dependencies

  • redis-server >= 2.8
  • elasticsearch
  • postgresql
  • nodejs

Quickstart / Development Notes

## for ubuntu 15.10

# install deps for ruby
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev \
libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev \
python-software-properties libffi-dev libgdbm-dev libncurses5-dev automake libtool bison

# install deps for voctoweb
sudo apt-get install redis-server libpqxx-dev

# install node.js
sudo apt-get install nodejs

# install rvm
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -O https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer
\curl -O https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
gpg --verify rvm-installer.asc rvm-installer
bash rvm-installer stable
source ~/.rvm/scripts/rvm

# install ruby 3.0.3
rvm install ruby-3.0.3

# install bundler
gem install bundler

# postgresql setup
sudo -u postgres -i
createuser -d -P voctoweb

# obtaining & setting up a voctoweb instance
git clone [email protected]:voc/voctoweb.git
cd voctoweb
bundle install
./bin/setup
rake db:migrate
rake db:fixtures:load

Run Development-Server manually

source ~/.rvm/scripts/rvm
rails server -b 0.0.0.0

# done
http://localhost:3000/ <- Frontend
http://localhost:3000/admin/ <- Backend
Backend-Login:
  Username: [email protected]
  Password: media123

Production Deployment Notes

Copy and edit the configuration file config/settings.yml.template to config/settings.yml.

You need to create a secret token for sessions, copy env.example to .env.production and edit.

Database Creation & Fixtures import

Setup your database in config/database.yml needed.

rake db:setup
./bin/update-data

Services (job queues, cache servers, search engines, etc.)

sidekiq

Puma

#!/usr/bin/env puma

directory '/srv/www/media-site/current'
rackup "/srv/www/media-site/current/config.ru"
environment 'production'

pidfile "/srv/www/media-site/shared/tmp/pids/puma.pid"
state_path "/srv/www/media-site/shared/tmp/pids/puma.state"
stdout_redirect '/srv/www/media-site/current/log/puma.error.log', '/srv/www/media-site/current/log/puma.access.log', true

threads 4,16

bind 'unix:///srv/www/media-site/shared/tmp/sockets/media-site-puma.sock'
bind 'tcp://127.0.0.1:3080'

workers 2

on_restart do
  puts 'Refreshing Gemfile'
  ENV["BUNDLE_GEMFILE"] = "/srv/www/media-site/current/Gemfile"
end

First Login

Login as user [email protected] with password media123. Change these values after the first login.

voctoweb's People

Contributors

a-tze avatar barnslig avatar benny-de avatar blinry avatar borian avatar bpeter-seibert avatar chrisipk avatar danimo avatar dedeibel avatar dependabot-preview[bot] avatar dependabot[bot] avatar derchrisuk avatar florolf avatar j0wi avatar johnjohndoe avatar katrinleinweber avatar lukas2511 avatar manno avatar mazdermind avatar meise avatar paskalito avatar petershaw avatar qbdesu avatar rmalchow avatar robinkaranu avatar saerdnaer avatar timo-42 avatar tobix avatar v0tti avatar volkovmqx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voctoweb's Issues

Link to streaming.media.ccc.de in empty conferences

When a conference is created but still empty, link to streaming.media.ccc.de with a sentence like "No Recordings have been released but you may find Livestreams or ReLive-Reocrdings on streaming.media.ccc.de"

Include/display magnet link

Feature-request:

Instead of/in addition to linking to .torrent-files in the download section, include (or rather display—I'm told they exist already interally) magnet links.

Video not loading due to 302 redirect

The source URLs for the videos do not point to the final location. In Firefox Dev Edition I get the following error.

HTTP load failed with status 302. Load of media resource http://cdn.media.ccc.de/congress/2015/h264-hd-web/32c3-7228-en-NSA-Untersuchungsausschuss_Zwischen_Aufklaerungswillen_und_Mauern_aus_Schweigen.mp4 failed.

Switch between Languages in Player

The Player should have a switch to select one of the available web-Versions.
This should probably be worked upon the after-32c3 branch.

Show newest videos

I'm following media via RSS, so I get an push if there is something new. Unfortunatly that view on the videos isn't available via browsing the website

OpenGraph for previews

Hi one reason why people prefer sharing the VOC youtube videos is, that youtube supports embedded previews / playback. While I think media.ccc.de wouldn't get the attention to get an listet oembed-Provider, you can still offer preview images via opengraph, as for example every wordpress-instance does.

Back-Button not working after Playing a video

When one navigates from ie. https://media.ccc.de/b to https://media.ccc.de/b/congress to https://media.ccc.de/c/32c3, the back and forward buttons work as expexted.

When one continues to navigate to https://media.ccc.de/v/32c3-7570-plunge_into_proxy_politics#video, the back-button stops working.

This is probably because of the Videoplayer capturing URL-Changes in order to updarte the Playback-Position in case of an Timestamp-Link.

The Player should not stop the navigation action, if the target-url is not a timestamp-link.

Untertitel im Frontend

Der mediaelement.js Player den wir aktuell benutzen, hat auch schon Unterstützung bzw. nen Polyfill für Untertitel. Wenn #47 geklärt ist, muss man im Prinzip lediglich innerhalb des Video Elements, pro SRT Datei ein Track Element hinzufügen:

<video class='video' controls='controls' data-id='2806' height='360' poster='https://static.media.ccc.de/media/congress/2015/7550-hd_preview.jpg' width='640'>
  <source src='http://cdn.media.ccc.de/congress/2015/webm-hd/32c3-7550-en-Opening_Event_webm-hd.webm' type='video/webm'>
  <source src='http://cdn.media.ccc.de/congress/2015/h264-hd/32c3-7550-en-Opening_Event_hd.mp4' type='video/mp4'>

  <track kind="subtitles" src="http://cdn.media.ccc.de/congress/2015/h264-hd/subtitles/32c3-7550-en-Opening_Event_hd.en.srt" srclang="en">
  <track kind="subtitles" src="http://cdn.media.ccc.de/congress/2015/h264-hd/subtitles/32c3-7550-en-Opening_Event_hd.de.srt" srclang="de">
</video>

Unter http://live.ber.c3voc.de/tests/32c3-7550-opening_event.html hab ich mal eine exemplarische Demo abgelegt.

Damit es wirklich funktioniert musste ich allerdings noch an zwei Stellen tricksen:

#video .mejs-captions-selector  {
        max-width: 100px; /* override definition from .tab-content #video * */
        width: 100px;
}

und damit keine Cross-Orrigin Fehler auftreten habe ich die SRT Dateien für den Test auch direkt neben die HTML Datei gelegt. Wer sich die Fehler selbst anschauen will, kann dies unter http://live.ber.c3voc.de/tests/32c3-7550-opening_event.direct.html machen.

Text track from origin 'http://cdn.media.ccc.de' has been blocked from loading: Not at same origin as the document, and parent of track element does not have a 'crossorigin' attribute. Origin 'http://live.ber.c3voc.de' is therefore not allowed access.

iframe trouble

Hi there.

I'm struggling with two iframe-related issues:

SAMEORIGIN

X-Frame-Options: SAMEORIGIN in the server response hinders the actual iframe use, e.g.

<iframe src="https://api.media.ccc.de/v/camp2015-7041-refugees_emancipation/oembed"></iframe>

when opened in a browser, gives the following error in the developer console:

Refused to display 'https://api.media.ccc.de/v/camp2015-7041-refugees_emancipation/oembed' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

...which is just the browser enforcing what the server at api.media.ccc.de is asking it to enforce:

> GET /v/camp2015-7041-refugees_emancipation/oembed HTTP/1.1
> User-Agent: curl/7.40.0
> Host: api.media.ccc.de
> Accept: */*
> 
< HTTP/1.1 200 OK
< Server: nginx/1.1.19
< Date: Wed, 18 Nov 2015 13:19:52 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< ETag: W/"5f848dee2910040cb945a75b91a8d666"
< Cache-Control: max-age=0, private, must-revalidate
< X-Request-Id: d029dd75-afbf-443b-b39c-cfb2b699dbf4
< X-Runtime: 0.021154
< Front-End-Https: on
< 

JSON response

The "use this to embed this video"-iframe code doesn't seem to work properly:

For example, https://api.media.ccc.de/v/camp2015-7041-refugees_emancipation#embedshare suggests

<iframe width="853" height="480" src="http://api.media.ccc.de/public/oembed?url=https://media.ccc.de/v/camp2015-7041-refugees_emancipation" frameborder="0" allowfullscreen></iframe>

but requesting that url actually gives a json response:

$ curl -L 'http://api.media.ccc.de/public/oembed?url=https://media.ccc.de/v/camp2015-7041-refugees_emancipation' | jq .
{
  "html": "<iframe src=\"https://api.media.ccc.de/v/camp2015-7041-refugees_emancipation/oembed\" width=\"0\" height=\"0\" frameborder=\"0\" title=\"Refugees Emancipation\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>\n",
  "thumbnail_url": "https://static.media.ccc.de/media/conferences/camp2015/7041-hd.jpg",
  "version": "1.0",
  "type": "video",
  "provider_name": "media.ccc.de",
  "provider_url": "https://media.ccc.de",
  "width": 0,
  "height": 0,
  "title": "Refugees Emancipation",
  "author": "Refugees Emancipation"
}
$ 

For some videos, it feels more broken than for others, i.e. this link from here just returns an error. Probably an unrelated third issue, though.

Thanks for your time!

New API for releasing

  • The new API should no longer download files and rely on already uploaded files instead.
  • All requests should be possible with a guid instead of a database id
  • API keys may be limited to incoming folders and conferences

Directly connect to Elasticsearch from Ruby

Currently the Search is maintained as an external Service controlled by two Perl-Scripts. This makes is harder to replicate the Setup during development and is also problematic in deployment.

I propose to move the Perl-Logic into the Rails-App. The importer could be a Rake-Task and the Search an API-Controller.

Include subtitles

Hi, I know we have great live subtitles created at events like 32c3, it's sad that they are nowhere to be found once released. Even if they are imperfect would be very nice to have them available.

Views as lists

Personally I prefer a real vertical list, ( as in search results) for browsing the videos. It's layout is more clear and needs just attention in one dimension. This might be also more comfortable for mobile users.

Date-Format in Search-Results

Currently the Date-Format on the Search-Results-Page is too technical:
screenshot from 2015-11-15 12 40 26

The reason for this is, that the Elastic-Search just passes the date on as reported by the media.ccc.de-Api.

Join semantic web

The semantic web adds metadata to pure content, to let machines 'understand' what it is all about and to learn about references. On top of RDF are domain specific vocabularies (e.g. friend of a friend, dublin core, video rdf, ...) that describe the pieces of information. So media.ccc.de can describe for example:

  • who are the speakers at which conference?
  • content languages and quality
  • ...

IMHO this would help to improve:

As an result, this is more than youtube can offer, as it's an library with high integration and interoperability.

Data quality

As I wrote in voc/plugin.video.media-ccc-de#8, currently there is not enough data to make an automated decision on which recording to select in which situation. Looking at the "download" tab of my preferred sample:
https://media.ccc.de/v/31c3_-_6212_-_en_-_saal_1_-_201412282330_-_heartache_and_heartbleed_the_insider_s_perspective_on_the_aftermath_of_heartbleed_-_nick_sullivan#download - This is a collection of videos and nobody knows which to select. SD/HD distinction seems to be lost for some recodings and web versions aren't filtered out.

temp

Crowdsourcing metadata

As some of my feature requests mean to (manually) extract / collect metadata, I recommend to make use of the crowd to do the necessary edits and keep the library up to date:

  • tags
  • URLs
  • chapters
  • quaility
  • subtitles
  • ...

Allow to specifiy language for podcast feeds.

Hi

It seems that currently, the podcasts feeds (example: https://koeln.media.ccc.de/c/32c3/podcast/mp3.xml) somewhat randomly refer to the available language versions. Would it be possible to add lets say a parameter lang with which users can select the languages they want?

Possible values:

  • 'de' -> German
  • 'en' -> Englisch
  • 'native' -> untranslated original audio
  • 'en,de' -> Prefer English and fallback to German if no English version is available.

Add speed setting to video playback

Hi,

It would be useful to be able to change the playback speed of the video.
Increments should probably be similar to the ones used by youtube, 0.5, 1.0, 1.25, 1.5, 2.0.

Keep up the good work.

SSL CDN // Do not redirect to unencrypted connection

I was surprised to find out that I can browse the media.ccc.de site with HTTPS, and I can browse the cdn.media.ccc.de directory listings with SSL just fine. It even contains HTTP headers to upgrade to SSL when using an unencrypted connection.
However, when downloading a file, I am automatically redirected to HTTP:

HTTP/1.1 302 Found
Connection: keep-alive
Content-Length: 307
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 01 Jan 2016 21:25:04 GMT
Digest: MD5=HCGw5mREf+goke3ouID1iQ==
Digest: SHA=H1jYHHF8Vj0DJybeetHcnZWm9S4=
Digest: SHA-256=DHE74iN9zjeZrxpUuDEgxkWyPUU0lGrXsr/TESFfYdk=
Link: <http://cdn.media.ccc.de/congress/2015/h264-hd/32c3-7331-en-de-The_exhaust_emissions_scandal_Dieselgate_hd.mp4.meta4>; rel=describedby; type="application/metalink4+xml"
Link: <http://cdn.media.ccc.de/congress/2015/h264-hd/32c3-7331-en-de-The_exhaust_emissions_scandal_Dieselgate_hd.mp4.torrent>; rel=describedby; type="application/x-bittorrent"
Link: <http://ftp.halifax.rwth-aachen.de/ccc/congress/2015/h264-hd/32c3-7331-en-de-The_exhaust_emissions_scandal_Dieselgate_hd.mp4>; rel=duplicate; pri=1; geo=de
Link: <http://mirror.netcologne.de/CCC/congress/2015/h264-hd/32c3-7331-en-de-The_exhaust_emissions_scandal_Dieselgate_hd.mp4>; rel=duplicate; pri=2; geo=de
Link: <http://mirror.eu.oneandone.net/projects/media.ccc.de/congress/2015/h264-hd/32c3-7331-en-de-The_exhaust_emissions_scandal_Dieselgate_hd.mp4>; rel=duplicate; pri=3; geo=de
Link: <http://mirror-1.server.selfnet.de/CCC/congress/2015/h264-hd/32c3-7331-en-de-The_exhaust_emissions_scandal_Dieselgate_hd.mp4>; rel=duplicate; pri=4; geo=de
Link: <http://ftp.fau.de/cdn.media.ccc.de/congress/2015/h264-hd/32c3-7331-en-de-The_exhaust_emissions_scandal_Dieselgate_hd.mp4>; rel=duplicate; pri=5; geo=de
Location: http://ftp.halifax.rwth-aachen.de/ccc/congress/2015/h264-hd/32c3-7331-en-de-The_exhaust_emissions_scandal_Dieselgate_hd.mp4
Server: nginx/1.4.6 (Ubuntu)
Strict-Transport-Security: max-age=15768000
X-AS: 131279
X-MirrorBrain-Mirror: halifax
X-MirrorBrain-Realm: region
X-Prefix: 175.45.176.0/24

Currently, 2 out of your 12 mirrors serve files via HTTPS (fau.de and nusedu). Hopefully this ratio is going to increase over the next time. I can use the encrypted mirrors manually for now, but it would be nice to stay on HTTPS with the web player as well.

So in this ticket I propose to redirect HTTPS CDN requests to HTTPS mirros.

Edit: I realize the fact that you send HTTPS upgrade headers would render all mirrors with HTTP-only unused.

Anzeigefehler des "Source Chooser"

Hallo!
ich bekomme die Videos des 32c3 auf media.ccc.de derzeit hauptsächlich in der deutschen Synchronfassung ausgeliefert. Zudem ist der "Source Chooser" des Players nach rechts verrückt, sodass ich ihn nicht bedienen kann (Sowohl bei Firefox, Chrome, wie auch bei Safari auf OS X), siehe
Screenshot.
Viele Grüße.

Use title instead of conference acronym in the frontend

In the conference view the first headline is the conference slug not the conference title.
Usually on the title is from interest to the user but it is only the second, smaller headline.
We could probably remove the slug completely in the frontend

Revise/redesign player page

Currently the download tab looks similar to this:
temp

the folder in which a recording is stored at might also trigger display of an hd or sd flag simular to the language. Mookup:
temp2

Share with timecode

Youtube offers to share a link that includes the timestamp, where the player starts autoplay. It would be nice to add this feature, too. This would allow users to point to particular chapters (think of lightning talks) or to highlight a specific part in a talk.

Make frab event IDs searchable via slug

The event ID is the only unique item about an event. However currently the event IDs are not included on the event pages and are not searchable via the search box.

Feature requests:

  • include the event ID clearly visible (emphasizing its importance) on the event page
  • allow searching for event IDs via the search box

years as tags

Currently the videos / conferences aren't tagged with a year, so we can't filter for all content of a single year.

Improve search query - don't just "and" words

since voc/media-search-prototype@3e585c4 the media.ccc.de search prefers matches which match all the search terms, which is actually the best way for most cases.

In some rare changes it would be nice if the user could switch back to the old method, e.g. when a want a list of all talks given by a speaker, which uses two different names for nicknames.

Such search request could look like nick OR surname .

Conference data

It would be nice, if there would be some more information about the conferences

  • logo per conference (insteat of generic folder icon)
  • Link to wikipedia
  • ...

Mysterious RSS full refreshs

From time to time, the portal refreshs all of it's rss items. This is a problem, as consumers have 100s of 'new' feed items, even there are no updates. This happened IMHO 2..3 times this year.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.