Skip to content

No changes are transmitted #12

Description

@dikkadev

I have tried a lot of different configurations, but none of those are working.

Now I don't have any error messages, neither in the console nor in logs from the socket.io server.

I have this running on my own VPS with node and express in the background. All of the needed files are publicly accessible and do not throw any errors either.

My client config:

body
  .reveal
    .slides
      section(data-markdown='markdowns/test.md' data-separator="^\r?\n---\r?\n$" data-separator-vertical="^\r?\n--\r?\n$")
  
  script(src='/revealjs/dist/reveal.js')
  script(src='/revealjs/plugin/notes/notes.js')
  script(src='/revealjs/plugin/markdown/markdown.js')
  script(src='/revealjs/plugin/highlight/highlight.js')
  script.
    Reveal.initialize({
      controls: false,
      hash: true,
      //- keyboard: false,
      multiplex: {
        secret: null,
        id: IDFROMSOCKET,
        url: 'http://MYDOMAIN:1948' // Location of socket.io server
      },
      dependencies: [
        { src: 'https://MYDOMAIN/socketio/socket.io.js', async: true },
        { src: 'https://MYDOMAIN/revealmultiplex/client.js', async: true },
      ],
      plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
    })

my master config

body
  .reveal
    .slides
      section(data-markdown='markdowns/test.md' data-separator="^\r?\n---\r?\n$" data-separator-vertical="^\r?\n--\r?\n$")

  script(src='/revealjs/dist/reveal.js')
  script(src='/revealjs/plugin/notes/notes.js')
  script(src='/revealjs/plugin/markdown/markdown.js')
  script(src='/revealjs/plugin/highlight/highlight.js')
  script.
    Reveal.initialize({
      hash: true,
      multiplex: {
        secret: SECRETTOKEN,
        id: SAMEIDASABOVE,
        url: 'http://MYDOMAIN:1948' // Location of socket.io server
      },
      dependencies: [
        { src: 'https://MYDOMAIN/socketio/socket.io.js', async: true },
        { src: 'https://MYDOMAIN/revealmultiplex/master.js', async: true },
      ],
      plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
    })

The socketio was started with node node_modules/reveal-multiplex and is running without errors or other logs.


When I go to the next slide in the master presentation, nothing happens in the client presentation or in the logs for the multiplex server. I have also tried putting the client.js and the master.js in the same file, but that also does nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions