changed example to use online player